LP-551 Output tab: Allow min=max=neutral values, used with resetActuators() in input...
[librepilot.git] / .travis.yml
blob9e34fc8fedd8a1dbe2e52b93536757c1744efe5f
1 language: cpp
3 sudo: required
5 matrix:
6   include:
7   # Linux builds
8   - os: linux
9     compiler: gcc
10     dist: trusty
11     before_install:
12       - sudo add-apt-repository ppa:librepilot/tools -y
13       - sudo apt-get update -q
14       - sudo apt-get install -y libc6-i386 libudev-dev libusb-1.0-0-dev libsdl1.2-dev python libopenscenegraph-dev libosgearth-dev qt56-meta-minimal qt56svg qt56script qt56serialport qt56multimedia qt56translations qt56tools
15       - make build_sdk_install
17   # OSX build
18   - os: osx
19     compiler: clang
20     before_install:
21       - brew update
22       - brew install curl
23       - brew install p7zip
24       - brew install gnu-tar
25       # - brew install cmake
26       - brew outdated gdal || brew upgrade gdal
27       - brew outdated geos || brew upgrade geos
28       - brew install ccache
29       - export PATH="/usr/local/opt/ccache/libexec:$PATH"
30       - ccache -V
31       - brew install qt5
32       - brew link --force qt5
33       - make arm_sdk_install
34       - make osg_install
35       - make osgearth_install
36       - wget https://www.libsdl.org/release/SDL-1.2.15.dmg
37       - hdiutil attach SDL-1.2.15.dmg
38       - sudo cp -r /Volumes/SDL/SDL.framework /Library/Frameworks/
39       - hdiutil detach /Volumes/SDL
41 script:
42       - make config_new CCACHE=ccache
43       - make -j2 all_flight
44       - make -j2 fw_resource
45       - make -j2 gcs
46       
47 git:
48         depth: 500
50 cache: ccache