Skip to content

Commit 1390047

Browse files
committed
Added the github oauth token for Travis CI
1 parent 910ed82 commit 1390047

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ before_install:
3838
- ./travis/run_es_docker.sh
3939

4040
install:
41-
- composer install --prefer-dist --no-interaction
41+
- if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN} >/dev/null 2>&1; fi;
42+
- composer install --prefer-dist --no-interaction >/dev/null 2>&1
4243

4344
before_script:
4445
- if [ $TRAVIS_PHP_VERSION = '7.4' ]; then PHPUNIT_FLAGS="--coverage-clover ./build/logs/clover.xml"; fi

0 commit comments

Comments
 (0)