Change ifdef for easier unit testing
[inav.git] / .travis.yml
blobc11f8086d380cb81ca77345a1bebb11110843fc0
1 env:
2 # Specify the main Mafile supported goals.
3   - GOAL=test
4   - GOAL=targets-group-1
5   - GOAL=targets-group-2
6   - GOAL=targets-group-3
7   - GOAL=targets-group-4
8   - GOAL=targets-group-5
9   - GOAL=targets-group-6
10   - GOAL=targets-group-7
11   - GOAL=targets-group-8
12   - GOAL=targets-group-rest
14 # use new docker environment
15 sudo: false
17 git:
18   depth: 5
20 addons:
21   apt:
22     packages:
23       - build-essential
24       - git
25       - libc6-i386
26       - time
28 # We use cpp for unit tests, and c for the main project.
29 language: cpp
30 compiler: clang
32 before_install:
34 install:
35   - make arm_sdk_install
37 before_script:
38   - make arm_sdk_version
39   - clang --version
40   - clang++ --version
42 script: ./.travis.sh
44 cache: 
45   timeout: 1000
46   directories:
47   - downloads
48   - tools
50 notifications:
51   #slack: inavflight:UWRoWFJ4cbbpHXT8HJJlAPXa
52   email: false
53   webhooks:
54     urls:
55       - https://webhooks.gitter.im/e/34e795df229478ac3a3b
56     on_success: always
57     on_failure: always
58     on_start: never