Skip to content
Snippets Groups Projects
Commit 398a81c2 authored by Martine Lenders's avatar Martine Lenders
Browse files

Merge pull request #4615 from cgundogan/pr/travis/branch

travis: pass the proper branch to compile_test.py
parents c35cf98e e62a655b
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,7 @@ install: ...@@ -31,6 +31,7 @@ install:
- sudo apt-get -y install $(./dist/tools/travis-scripts/get-pkg-list.py) - 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.email "travis@example.com"
- git config --global user.name "Travis CI" - git config --global user.name "Travis CI"
- test "$TRAVIS_BRANCH" = "master" || git fetch origin $TRAVIS_BRANCH:$TRAVIS_BRANCH
script: script:
- ./dist/tools/travis-scripts/build_and_test.sh - ./dist/tools/travis-scripts/build_and_test.sh
......
...@@ -70,5 +70,5 @@ then ...@@ -70,5 +70,5 @@ then
# resolved: # resolved:
# - make -C ./tests/unittests all test BOARD=qemu-i386 || exit # - make -C ./tests/unittests all test BOARD=qemu-i386 || exit
fi fi
./dist/tools/compile_test/compile_test.py master ./dist/tools/compile_test/compile_test.py $TRAVIS_BRANCH
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment