diff --git a/.travis.yml b/.travis.yml index 76a97419e26383699e3cc02f3db65f5ba69864ad..01e57f2cdb6b680effb69251cfd6e348ff2be382 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,6 +31,7 @@ install: - sudo apt-get -y install $(./dist/tools/travis-scripts/get-pkg-list.py) - git config --global user.email "travis@example.com" - git config --global user.name "Travis CI" + - test "$TRAVIS_BRANCH" = "master" || git fetch origin $TRAVIS_BRANCH:$TRAVIS_BRANCH script: - ./dist/tools/travis-scripts/build_and_test.sh diff --git a/dist/tools/travis-scripts/build_and_test.sh b/dist/tools/travis-scripts/build_and_test.sh index b060480dc2abf2048bf3823f6511e7fd42503c6e..475ad9f1af8e830a58c50cd03806e18c2242d953 100755 --- a/dist/tools/travis-scripts/build_and_test.sh +++ b/dist/tools/travis-scripts/build_and_test.sh @@ -70,5 +70,5 @@ then # resolved: # - make -C ./tests/unittests all test BOARD=qemu-i386 || exit fi - ./dist/tools/compile_test/compile_test.py master + ./dist/tools/compile_test/compile_test.py $TRAVIS_BRANCH fi