CF/BF - Reduce osd slave dependencies on FC code.
[betaflight.git] / .travis.yml
blob5e012ae20fafd949f35681fcf7420e9da6f17b90
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       - libc6-i386
31       - time
33 # We use cpp for unit tests, and c for the main project.
34 language: cpp
35 compiler: clang
37 install:
38   - make arm_sdk_install
40 before_script:
41   - tools/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc --version
42   - clang --version
43   - clang++ --version
45 script: ./.travis.sh
47 after_success:
48   - cd ${TRAVIS_BUILD_DIR}
49   - lcov --directory . -b src/test --capture --output-file coverage.info # capture coverage info
50   - lcov --remove coverage.info 'lib/test/*' 'src/test/*' '/usr/*' --output-file coverage.info # filter out system and test code
51   - lcov --list coverage.info # debug before upload
52   - coveralls-lcov coverage.info # uploads to coveralls
54 cache: 
55   directories:
56   - downloads
57   - tools
58     
60 #notifications:
61 #  irc: "chat.freenode.net#cleanflight"
62 #  use_notice: true
63 #  skip_join: true
65 notifications:
66   irc:
67     channels:
68       - "chat.freenode.net#cleanflight"
69     use_notice: true
70     skip_join: true