Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 24f5cda

Browse files
author
torreytsui
committed
Set up github token on travis
1 parent 2723fe7 commit 24f5cda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ before_install:
5353
- phpenv config-rm xdebug.ini || true
5454
- composer self-update
5555
- if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; composer config prefer-stable true; fi;
56+
- if [ "$GITHUB_TOKEN" != "" ]; then composer config github-oauth.github.com $GITHUB_TOKEN; fi
5657
- if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony:${SYMFONY_VERSION} --no-update; fi
5758
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo $TRAVIS_PULL_REQUEST_BRANCH; fi)
5859

0 commit comments

Comments
 (0)