diff --git a/.travis.yml b/.travis.yml index 90edc4fc67d..08af91f5ecd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -206,7 +206,7 @@ before_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_38_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`