diff --git a/.travis.yml b/.travis.yml index 47f3462fe02..079f2bbd927 100644 --- a/.travis.yml +++ b/.travis.yml @@ -163,7 +163,7 @@ script: # We need the official upstream for comparison git remote add upstream https://github.com/moodle/moodle.git; - git fetch upstream master; + git fetch upstream MOODLE_31_STABLE; export GIT_PREVIOUS_COMMIT="`git merge-base FETCH_HEAD $TRAVIS_COMMIT`"; export GIT_COMMIT="$TRAVIS_COMMIT"; export UPSTREAM_FETCH_HEAD=`git rev-parse FETCH_HEAD`