travis: setup BUILDROOT to try to make builds faster

This commit is contained in:
Andrew Tridgell 2016-01-19 12:28:04 +11:00
parent 1c73549451
commit 3ea05759d1

View File

@ -10,6 +10,9 @@ set -ex
# CXX and CC are exported by default by travis
unset CXX CC
export BUILDROOT=/tmp/travis.build.$$
rm -rf $BUILDROOT
# If TRAVIS_BUILD_TARGET is not set, default to all of them
if [ -z "$TRAVIS_BUILD_TARGET" ]; then
TRAVIS_BUILD_TARGET="sitl linux navio raspilot minlure bebop px4-v2 px4-v4"