travis: update to new scripts

This commit is contained in:
Andrew Tridgell 2016-02-09 08:54:03 +11:00
parent a5b92a001e
commit 2f76fd68cc

View File

@ -1,11 +1,26 @@
language: cpp language: cpp
sudo: required sudo: required
before_install: cache:
- APMDIR=$(pwd) && pushd .. && $APMDIR/Tools/scripts/install-travis-env.sh -y && . ~/.profile && popd directories:
- $HOME/opt
script: addons:
- Tools/scripts/build_all_travis.sh coverity_scan:
project:
name: "diydrones/ardupilot"
description: "Build submitted via Travis CI"
notification_email: andrew-scan@tridgell.net
build_command_prepend: "make clean"
build_command: "make"
branch_pattern: coverity_scan
before_install:
- APMDIR=$(pwd) && pushd .. && $APMDIR/Tools/scripts/configure-ci.sh && . ~/.profile && popd
script:
- python Tools/autotest/param_metadata/param_parse.py
- Tools/scripts/build_ci.sh
notifications: notifications:
webhooks: webhooks:
@ -21,15 +36,5 @@ env:
# via the "travis encrypt" command using the project repo's public key # via the "travis encrypt" command using the project repo's public key
- secure: "FjIwqZQV2FhNPWYITX5LZXTE38yYqBaQdbm3QmbEg/30wnPTm1ZOLIU7o/aSvX615ImR8kHoryvFPDQDWc6wWfqTEs3Ytq2kIvcIJS2Y5l/0PFfpWJoH5gRd6hDThnoi+1oVMLvj1+bhn4yFlCCQ2vT/jxoGfiQqqgvHtv4fLzI=" - secure: "FjIwqZQV2FhNPWYITX5LZXTE38yYqBaQdbm3QmbEg/30wnPTm1ZOLIU7o/aSvX615ImR8kHoryvFPDQDWc6wWfqTEs3Ytq2kIvcIJS2Y5l/0PFfpWJoH5gRd6hDThnoi+1oVMLvj1+bhn4yFlCCQ2vT/jxoGfiQqqgvHtv4fLzI="
matrix: matrix:
- TRAVIS_BUILD_TARGET="px4-v2" - CI_BUILD_TARGET="px4-v2 sitl linux"
- TRAVIS_BUILD_TARGET="sitl linux apm2 navio" - CI_BUILD_TARGET="navio raspilot minlure bebop"
addons:
coverity_scan:
project:
name: "diydrones/ardupilot"
description: "Build submitted via Travis CI"
notification_email: andrew-scan@tridgell.net
build_command_prepend: "make clean"
build_command: "make"
branch_pattern: coverity_scan