atbetaflight/.travis.yml

74 lines
1.3 KiB
YAML

os:
- linux
sudo: false
dist: trusty
addons:
apt:
packages:
- lcov
- build-essential
- git
- libc6-i386
- time
- libblocksruntime-dev
git:
depth: 5
# We use cpp for unit tests, and c for the main project.
language: cpp
compiler: clang
env:
# - PUBLISHMETA=True
# - PUBLISHDOCS=True
# Specify the main Mafile supported goals.
- GOAL=test
- 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=...
# Or specify targets to run.
# - TARGET=AFROMINI
# - TARGET=AIORACERF3
# - TARGET=...
before_install:
- pip install --user cpp-coveralls
- gem install coveralls-lcov
install:
- make arm_sdk_install
before_script:
- make arm_sdk_version
- clang --version
- clang++ --version
- gcc --version
- export V=0
script: ./.travis.sh
cache:
timeout: 1000
directories:
- downloads
- tools
notifications:
slack: betaflightgroup:LQSj02nsBEdefcO5UQcLgB0U
webhooks:
urls:
- https://webhooks.gitter.im/e/0c20f7a1a7e311499a88
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: always # options: [always|never|change] default: always