diff --git a/.travis.yml b/.travis.yml index 5d1a5eada8..6d70cf2c45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ before_install: - APMDIR=$(pwd) && pushd .. && $APMDIR/Tools/scripts/install-travis-env.sh -y && . ~/.profile && popd script: - - Tools/scripts/build_px4_v2_quad_travis.sh + - Tools/scripts/build_px4_v2_quad_travis.sh ${GITHUB_API_KEY} deploy: provider: releases diff --git a/Tools/scripts/build_px4_v2_quad_travis.sh b/Tools/scripts/build_px4_v2_quad_travis.sh index f82ee0fb2d..7dca1c34b4 100755 --- a/Tools/scripts/build_px4_v2_quad_travis.sh +++ b/Tools/scripts/build_px4_v2_quad_travis.sh @@ -1,13 +1,18 @@ #!/bin/bash -# useful script to test all the different build types that we support. -# This helps when doing large merges -# Andrew Tridgell, November 2011 . config.mk set -e set -x +pushd ../PX4Firmware +set +x +git remote add solo https://$1@github.com/3drobotics/PX4Firmware-solo.git +set -x +git fetch solo +git checkout solo/master +popd + pushd ArduCopter make configure make clean