Initial default suggestions for 3.4
[betaflight.git] / .travis.yml
blob2c6eb9e53a1b44786571e4878cf5fe03de26dc95
1 os:
2   - linux
4 sudo: false
6 dist: trusty
8 addons:
9   apt:
10     packages:
11       - lcov
12       - build-essential
13       - git
14       - libc6-i386
15       - time
16       - libblocksruntime-dev
18 git:
19   depth: 5
21 # We use cpp for unit tests, and c for the main project.
22 language: cpp
23 compiler: clang
25 env:
26 #  - PUBLISHMETA=True
27 #  - PUBLISHDOCS=True
28 # Specify the main Mafile supported goals.
29   - GOAL=test
30   - GOAL=targets-group-1
31   - GOAL=targets-group-2
32   - GOAL=targets-group-3
33   - GOAL=targets-group-4
34   - GOAL=targets-group-rest
35 #  - GOAL=all
36 #  - GOAL=AFROMINI
37 #  - GOAL=AIORACERF3
38 #  - GOAL=...
39 # Or specify targets to run.
40 #  - TARGET=AFROMINI
41 #  - TARGET=AIORACERF3
42 #  - TARGET=...
44 before_install:
45   - pip install --user cpp-coveralls
46   - gem install coveralls-lcov
48 install:
49   - make arm_sdk_install
51 before_script:
52   - make arm_sdk_version
53   - clang --version
54   - clang++ --version
55   - gcc --version
57 script: ./.travis.sh
59 cache:
60   directories:
61   - downloads
62   - tools
64 notifications:
65   slack: betaflightgroup:LQSj02nsBEdefcO5UQcLgB0U
66   webhooks:
67     urls:
68       - https://webhooks.gitter.im/e/0c20f7a1a7e311499a88
69     on_success: always  # options: [always|never|change] default: always
70     on_failure: always  # options: [always|never|change] default: always
71     on_start: always     # options: [always|never|change] default: always