2016-11-08 10:41:20 -08:00
|
|
|
|
2014-12-15 12:36:06 -08:00
|
|
|
env:
|
2016-08-08 06:19:47 -07:00
|
|
|
# - PUBLISHMETA=True
|
2016-08-08 05:47:45 -07:00
|
|
|
# - PUBLISHDOCS=True
|
2016-11-09 12:28:14 -08:00
|
|
|
# Specify the main Mafile supported goals.
|
|
|
|
- GOAL=test
|
2017-03-20 14:55:53 -07:00
|
|
|
- GOAL=targets-group-1
|
|
|
|
- GOAL=targets-group-2
|
|
|
|
- GOAL=targets-group-3
|
|
|
|
- GOAL=targets-group-4
|
|
|
|
- GOAL=targets-group-rest
|
|
|
|
# - GOAL=all
|
|
|
|
# - GOAL=AFROMINI
|
|
|
|
# - GOAL=AIORACERF3
|
|
|
|
# - GOAL=...
|
2016-11-09 12:28:14 -08:00
|
|
|
# Or specify targets to run.
|
2016-08-09 10:47:52 -07:00
|
|
|
# - TARGET=AFROMINI
|
|
|
|
# - TARGET=AIORACERF3
|
2017-03-20 14:55:53 -07:00
|
|
|
# - TARGET=...
|
2016-09-24 15:19:10 -07:00
|
|
|
|
2015-07-10 10:52:47 -07:00
|
|
|
# use new docker environment
|
|
|
|
sudo: false
|
|
|
|
|
2016-11-08 10:41:20 -08:00
|
|
|
git:
|
|
|
|
depth: 5
|
|
|
|
|
2015-07-10 10:52:47 -07:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
2016-11-07 01:53:01 -08:00
|
|
|
- lcov
|
|
|
|
- build-essential
|
|
|
|
- git
|
2015-07-10 10:52:47 -07:00
|
|
|
- libc6-i386
|
2017-03-20 14:55:53 -07:00
|
|
|
- time
|
2015-07-10 10:52:47 -07:00
|
|
|
|
2015-01-23 16:26:56 -08:00
|
|
|
# We use cpp for unit tests, and c for the main project.
|
|
|
|
language: cpp
|
|
|
|
compiler: clang
|
2017-05-16 02:22:51 -07:00
|
|
|
dist: trusty
|
|
|
|
|
2015-02-27 14:55:36 -08:00
|
|
|
|
2016-11-07 01:53:01 -08:00
|
|
|
before_install:
|
|
|
|
- pip install --user cpp-coveralls
|
|
|
|
- gem install coveralls-lcov
|
|
|
|
|
2015-06-30 16:18:24 -07:00
|
|
|
install:
|
2016-09-02 20:13:32 -07:00
|
|
|
- make arm_sdk_install
|
2015-06-30 16:18:24 -07:00
|
|
|
|
2016-11-09 12:28:14 -08:00
|
|
|
before_script:
|
2017-07-01 02:21:16 -07:00
|
|
|
- tools/gcc-arm-none-eabi-6-2017-q2-update/bin/arm-none-eabi-gcc --version
|
2016-11-09 12:28:14 -08:00
|
|
|
- clang --version
|
|
|
|
- clang++ --version
|
2017-05-16 02:22:51 -07:00
|
|
|
- gcc --version
|
2016-11-09 12:28:14 -08:00
|
|
|
|
2015-01-23 16:53:40 -08:00
|
|
|
script: ./.travis.sh
|
2014-12-23 05:40:49 -08:00
|
|
|
|
2016-11-08 10:41:20 -08:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- downloads
|
|
|
|
- tools
|
|
|
|
|
2017-03-20 14:55:53 -07:00
|
|
|
|
2016-08-08 05:47:45 -07:00
|
|
|
#notifications:
|
|
|
|
# irc: "chat.freenode.net#cleanflight"
|
|
|
|
# use_notice: true
|
|
|
|
# skip_join: true
|
2016-08-15 14:07:38 -07:00
|
|
|
|
|
|
|
notifications:
|
2016-10-01 16:53:36 -07:00
|
|
|
slack: betaflightgroup:LQSj02nsBEdefcO5UQcLgB0U
|
2016-08-15 14:07:38 -07:00
|
|
|
webhooks:
|
|
|
|
urls:
|
2016-08-15 23:59:26 -07:00
|
|
|
- https://webhooks.gitter.im/e/0c20f7a1a7e311499a88
|
|
|
|
on_success: always # options: [always|never|change] default: always
|
2016-08-15 14:07:38 -07:00
|
|
|
on_failure: always # options: [always|never|change] default: always
|
2016-08-15 23:59:26 -07:00
|
|
|
on_start: always # options: [always|never|change] default: always
|