diff --git a/.travis.yml b/.travis.yml index 467d8f5f7c6..9deb770e6c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -180,7 +180,7 @@ script: # We need the official upstream for comparison git remote add upstream https://github.com/moodle/moodle.git; - git fetch upstream MOODLE_30_STABLE; + git fetch upstream master; 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`