Skip to content

Commit

Permalink
travis: oh god how did that .travis.yml even work
Browse files Browse the repository at this point in the history
  • Loading branch information
sfalexrog committed Jul 15, 2019
1 parent 833bd1b commit 75e7643
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,29 @@ git:

cache:
ccache: true
matrix:
fast_finish: true
include:
- os: linux
dist: xenial
if: branch = coverity_scan

before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
# use git:// to fetch instead of https://
- git config --global url."git://".insteadOf https://

env:
# FIXME: px4_fmu-v2_default is too large
# - BUILD_TARGET=px4_fmu-v2_default
- BUILD_TARGET=px4_fmu-v2_lpe
- BUILD_TARGET=px4_fmu-v3_default
- BUILD_TARGET=px4_fmu-v4_default
- BUILD_TARGET=px4_fmu-v5_default
- BUILD_TARGET=px4_fmu-v2_lpe
- BUILD_TARGET=px4_fmu-v3_default
- BUILD_TARGET=px4_fmu-v4_default
- BUILD_TARGET=px4_fmu-v5_default

stage: Build

install:
- export PATH=$HOME/.local/bin:$PATH
- pip install --user --upgrade pip
- pip install --user -r Tools/setup/requirements.txt

script:
- ./Tools/docker_run.sh make ${BUILD_TARGET}
- ./Tools/docker_run.sh make ${BUILD_TARGET}

jobs:
include:
Expand Down Expand Up @@ -85,12 +86,4 @@ deploy:
# build_command_prepend: "make distclean"
# build_command: "make px4_sitl_default"
# branch_pattern: coverity_scan
install:
- export PATH=$HOME/.local/bin:$PATH
- pip install --user --upgrade pip
- pip install --user -r Tools/setup/requirements.txt

script:
- make


0 comments on commit 75e7643

Please sign in to comment.