remove gcc7 warning of duplicate const
[inav.git] / .travis.yml
blob4b2766bbcd3c98643a4add06712a80729dc2f65c
1 env:
2 # Specify the main Mafile supported goals.
3   - GOAL=test
4   - GOAL=all
5 #  - TARGET=CC3D
7 # use new docker environment
8 sudo: false
10 git:
11   depth: 5
13 addons:
14   apt:
15     packages:
16       - build-essential
17       - git
18       - libc6-i386
20 # We use cpp for unit tests, and c for the main project.
21 language: cpp
22 compiler: clang
24 before_install:
26 install:
27   - ./install-toolchain.sh
28   - export TOOLCHAINPATH=$PWD/gcc-arm-none-eabi-6-2017-q2-update/bin
29   - export PATH=$TOOLCHAINPATH:$PATH
31 before_script:
32   - $TOOLCHAINPATH/arm-none-eabi-gcc --version
33   - clang --version
34   - clang++ --version
36 script: ./.travis.sh
38 cache: 
39   apt: true
40   directories:
41   - $PWD/gcc-arm-none-eabi-6-2017-q2-update
43 notifications:
44   #slack: inavflight:UWRoWFJ4cbbpHXT8HJJlAPXa
45   email: false
46   webhooks:
47     urls:
48       - https://webhooks.gitter.im/e/34e795df229478ac3a3b
49     on_success: always
50     on_failure: always
51     on_start: never