ardupilot/.travis.yml

71 lines
2.3 KiB
YAML
Raw Normal View History

2014-07-12 13:36:11 -03:00
language: cpp
sudo: false
dist: focal
addons:
2016-04-14 12:53:52 -03:00
apt:
packages:
- build-essential
- gawk
2016-10-16 06:30:59 -03:00
- libxml2-dev
- libxslt1-dev
- python3-pip
- python3-dev
2019-06-13 22:37:17 -03:00
- gdb
- cmake
- cmake-data
- clang-7
- llvm-7
2014-07-12 13:36:11 -03:00
2016-04-14 22:03:18 -03:00
cache:
ccache: false
2016-04-14 22:03:18 -03:00
directories:
- $HOME/opt
2014-07-12 13:36:11 -03:00
before_install:
- echo 0 | sudo dd of=/proc/sys/kernel/yama/ptrace_scope
2016-04-14 23:48:57 -03:00
- Tools/scripts/configure-ci.sh
2016-05-17 11:41:52 -03:00
- if [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then export CI_CRON_JOB=1 ; fi
2015-11-24 22:26:41 -04:00
script:
- Tools/scripts/build_ci.sh
2014-12-31 18:43:16 -04:00
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/e5e0b55e353e53945b4b
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
- secure: "FjIwqZQV2FhNPWYITX5LZXTE38yYqBaQdbm3QmbEg/30wnPTm1ZOLIU7o/aSvX615ImR8kHoryvFPDQDWc6wWfqTEs3Ytq2kIvcIJS2Y5l/0PFfpWJoH5gRd6hDThnoi+1oVMLvj1+bhn4yFlCCQ2vT/jxoGfiQqqgvHtv4fLzI="
- AUTOTEST_UPLOAD=true # Upload logs of failed tests to ArduPilot server; requires authentication
matrix:
fast_finish: true
include:
- if: type != cron
compiler: "gcc"
env: CI_BUILD_TARGET="sitltest-copter-tests2 sitltest-heli"
2020-09-06 21:32:10 -03:00
name: sitltest-copter-tests2 sitltest-heli
- if: type != cron
compiler: "gcc"
env: CI_BUILD_TARGET="sitltest-copter-tests1"
2020-09-06 21:32:10 -03:00
name: sitltest-copter-tests1
- if: type != cron
compiler: "gcc"
env: CI_BUILD_TARGET="sitltest-tracker sitltest-quadplane sitltest-plane"
2020-09-06 21:32:10 -03:00
name: sitltest-tracker sitltest-quadplane sitltest-plane
- if: type != cron
compiler: "clang"
env: CI_BUILD_TARGET="sitltest-rover sitltest-sub sitltest-balancebot navigator unit-tests"
2020-09-06 21:32:10 -03:00
name: sitltest-rover sitltest-sub sitltest-balancebot navigator unit-tests
- if: type != cron
compiler: "clang"
env: CI_BUILD_TARGET="revo-bootloader periph-build CubeOrange-bootloader iofirmware stm32f7 stm32h7 fmuv2-plane sitl"
2020-09-06 21:32:10 -03:00
name: revo-bootloader periph-build CubeOrange-bootloader iofirmware stm32f7 stm32h7 fmuv2-plane sitl