mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
travis: setup BUILDROOT to try to make builds faster
This commit is contained in:
parent
1c73549451
commit
3ea05759d1
@ -10,6 +10,9 @@ set -ex
|
|||||||
# CXX and CC are exported by default by travis
|
# CXX and CC are exported by default by travis
|
||||||
unset CXX CC
|
unset CXX CC
|
||||||
|
|
||||||
|
export BUILDROOT=/tmp/travis.build.$$
|
||||||
|
rm -rf $BUILDROOT
|
||||||
|
|
||||||
# If TRAVIS_BUILD_TARGET is not set, default to all of them
|
# If TRAVIS_BUILD_TARGET is not set, default to all of them
|
||||||
if [ -z "$TRAVIS_BUILD_TARGET" ]; then
|
if [ -z "$TRAVIS_BUILD_TARGET" ]; then
|
||||||
TRAVIS_BUILD_TARGET="sitl linux navio raspilot minlure bebop px4-v2 px4-v4"
|
TRAVIS_BUILD_TARGET="sitl linux navio raspilot minlure bebop px4-v2 px4-v4"
|
||||||
|
Loading…
Reference in New Issue
Block a user