Merge pull request #5904 from mikeller/add_target_independence_check_to_travis
[betaflight.git] / .travis.yml
blob2439f09a03c69f74a4dd78abf4d5ef55a1efea08
2 env:
3 #  - PUBLISHMETA=True
4 #  - PUBLISHDOCS=True
5 # Specify the main Mafile supported goals.
6   - GOAL=test
7   - GOAL=targets-group-1
8   - GOAL=targets-group-2
9   - GOAL=targets-group-3
10   - GOAL=targets-group-4
11   - GOAL=targets-group-rest
12 #  - GOAL=all
13 #  - GOAL=AFROMINI
14 #  - GOAL=AIORACERF3
15 #  - GOAL=...
16 # Or specify targets to run.
17 #  - TARGET=AFROMINI
18 #  - TARGET=AIORACERF3
19 #  - TARGET=...
21 # use new docker environment
22 sudo: false
24 git:
25   depth: 5
27 addons:
28   apt:
29     packages:
30       - lcov
31       - build-essential
32       - git
33       - libc6-i386
34       - time
35       - libblocksruntime-dev
37 # We use cpp for unit tests, and c for the main project.
38 language: cpp
39 compiler: clang
40 dist: trusty
43 before_install:
44   - pip install --user cpp-coveralls
45   - gem install coveralls-lcov
47 install:
48   - make arm_sdk_install
50 before_script:
51   - tools/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc --version
52   - clang --version
53   - clang++ --version
54   - gcc --version
56 script: ./.travis.sh
58 cache:
59   directories:
60   - downloads
61   - tools
64 #notifications:
65 #  irc: "chat.freenode.net#cleanflight"
66 #  use_notice: true
67 #  skip_join: true
69 notifications:
70   slack: betaflightgroup:LQSj02nsBEdefcO5UQcLgB0U
71   webhooks:
72     urls:
73       - https://webhooks.gitter.im/e/0c20f7a1a7e311499a88
74     on_success: always  # options: [always|never|change] default: always
75     on_failure: always  # options: [always|never|change] default: always
76     on_start: always     # options: [always|never|change] default: always