1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

.travis.yml: fetch base-branch for rebase

This commit is contained in:
Martine Lenders 2019-01-14 23:00:09 +01:00 committed by Martine Lenders
parent 6a4c764c95
commit da624f2ff4

View File

@ -8,6 +8,10 @@ services:
before_install:
- docker pull riot/riotbuild
before_script:
# Fetch the base branch when it is not `master`
- git fetch origin "${TRAVIS_BRANCH}:${TRAVIS_BRANCH}"
script:
- docker run -a STDIN -a STDOUT -a STDERR --rm -u "$(id -u)"
-v "${PWD}:/data/riotbuild" -v /etc/localtime:/etc/localtime:ro