forked from PX4/DriverFramework
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
43 lines (38 loc) · 758 Bytes
/
.travis.yml
File metadata and controls
43 lines (38 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Build and autotest script for DriverFramework
# http://travis-ci.org
language: cpp
matrix:
fast_finish: true
include:
- os: linux
dist: trusty
sudo: false
compiler: gcc
- os: linux
dist: trusty
sudo: false
compiler: clang
- os: osx
osx_image: xcode9.4
sudo: true
addons:
apt:
sources:
- kubuntu-backports
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- build-essential
- clang-3.5
- cmake
before_script:
- export PATH=~/bin:$PATH
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew update;
brew install astyle;
fi
script:
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
make check-style;
fi
- make run