Skip to content

Commit

Permalink
.travis.yml: fetch base-branch for rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Jan 15, 2019
1 parent 6a4c764 commit da624f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da624f2

Please sign in to comment.