diff --git a/.travis.yml b/.travis.yml index 23de31989..7899cac0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,8 @@ matrix: exclude: - env: THENEEDFORTHIS=FAIL +install: travis_retry composer self-update + before_script: bash ./build/travis/before_script.sh script: bash ./build/travis/script.sh diff --git a/build/travis/before_script.sh b/build/travis/before_script.sh index 9ab78a332..308438b4e 100644 --- a/build/travis/before_script.sh +++ b/build/travis/before_script.sh @@ -2,8 +2,6 @@ set -x -travis_retry composer self-update - originalDirectory=$(pwd) cd .. @@ -14,7 +12,7 @@ mv mediawiki-$MW phase3 cd phase3 -travis_retry composer install --prefer-source +composer install --prefer-source if [ "$DB" == "postgres" ] then