From da624f2ff4b2ea29ae04c63e355d3d775439eb7a Mon Sep 17 00:00:00 2001 From: Martine Lenders <mail@martine-lenders.eu> Date: Mon, 14 Jan 2019 23:00:09 +0100 Subject: [PATCH] .travis.yml: fetch base-branch for rebase --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 657387324d..9f58a7f4ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 -- GitLab