Browse Source

AppVeyor/Travis - use GITHUB_OAUTH_TOKEN

Dariusz Ruminski 9 years ago
parent
commit
c252c14142
2 changed files with 3 additions and 1 deletions
  1. 2 1
      .travis.yml
  2. 1 0
      appveyor.yml

+ 2 - 1
.travis.yml

@@ -20,10 +20,11 @@ cache:
         - $HOME/.composer/cache
 
 before_install:
+    - git config --global github.accesstoken 5e7538aa415005c606ea68de2bbbade0409b4b8c
     - 'if [ "$SYMFONY_VERSION" != "" ]; then sed -i "s/\"symfony\/\([^\"]*\)\": \"[^\"]*\"/\"symfony\/\1\": \"$SYMFONY_VERSION\"/g" composer.json; fi'
 
 install:
-    - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction
+    - travis_retry composer update $COMPOSER_FLAGS --no-interaction
 
 script:
     - composer test-ci

+ 1 - 0
appveyor.yml

@@ -18,6 +18,7 @@ install:
     - cd C:\tools
     - appveyor DownloadFile https://getcomposer.org/composer.phar
     - appveyor DownloadFile https://phar.phpunit.de/phpunit.phar
+    - git config --global github.accesstoken 5e7538aa415005c606ea68de2bbbade0409b4b8c
 
 before_test:
     - cd C:\projects\php-cs-fixer