From 33aa0daf0d3b8ea8d255478c6410f79e45456cac Mon Sep 17 00:00:00 2001 From: Enrico Zimuel Date: Fri, 14 Feb 2020 09:35:01 +0100 Subject: [PATCH] Added the github oauth token for Travis CI --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9d2f9705d..ad1ed86c4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,7 +38,8 @@ before_install: - ./travis/run_es_docker.sh install: - - composer install --prefer-dist --no-interaction + - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN} >/dev/null 2>&1; fi; + - composer install --prefer-dist --no-interaction >/dev/null 2>&1 before_script: - if [ $TRAVIS_PHP_VERSION = '7.4' ]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; fi