.travis.yml: fetch base-branch for rebase
This commit is contained in:
parent
6a4c764c95
commit
da624f2ff4
@ -8,6 +8,10 @@ services:
|
|||||||
before_install:
|
before_install:
|
||||||
- docker pull riot/riotbuild
|
- docker pull riot/riotbuild
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
# Fetch the base branch when it is not `master`
|
||||||
|
- git fetch origin "${TRAVIS_BRANCH}:${TRAVIS_BRANCH}"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- docker run -a STDIN -a STDOUT -a STDERR --rm -u "$(id -u)"
|
- docker run -a STDIN -a STDOUT -a STDERR --rm -u "$(id -u)"
|
||||||
-v "${PWD}:/data/riotbuild" -v /etc/localtime:/etc/localtime:ro
|
-v "${PWD}:/data/riotbuild" -v /etc/localtime:/etc/localtime:ro
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user