forked from paparazzi/paparazzi
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
39 lines (36 loc) · 1.57 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
sudo: required
dist: bionic
language: c
compiler:
- gcc
- clang
before_install:
- sudo add-apt-repository ppa:paparazzi-uav/ppa -y
- sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa -y
- sudo apt-get update -q
install:
- sudo apt-get install -y --allow-unauthenticated paparazzi-dev paparazzi-jsbsim gcc-arm-embedded gcc-arm-linux-gnueabi g++-arm-linux-gnueabi libipc-run-perl rustc cargo libgazebo9-dev libgps-dev python3-lxml
script:
- arm-none-eabi-gcc --version
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then if [ "${TRAVIS_EVENT_TYPE}" == "cron" ]; then make test_all_confs; else make test; fi; fi
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: "QGE7s/sTIX3F4hG8YYbpYjB2x0YsUUo9qHf+Dv5BqNcTtZ2TLO0tHPWxoI5wlRLiMEOOnINNwYk7ooM3oOXa0Fm9urja9k78cFutbbDtvGD6DjUFajwJ0KnwXnLulCgG+l67umGitSazQpyEQE4pvX/8EnB9/pgq706DlmCbkds="
addons:
coverity_scan:
project:
name: "paparazzi/paparazzi"
description: "Build submitted via Travis CI"
notification_email: [email protected]
build_command_prepend: make ext; cov-configure --comptype gcc --compiler arm-none-eabi-gcc --template
build_command: make test_coverity
branch_pattern: coverity_scan
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4187f8dda7a22a92b749
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false