Ver código fonte

ask composer in TravisCI to use an oauth token to avoid rate limiting

El RIDO 8 anos atrás
pai
commit
9af79467a0
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      .travis.yml

+ 1 - 0
.travis.yml

@@ -12,6 +12,7 @@ install:
   - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 4
   - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 4
 
 
 before_script:
 before_script:
+  - composer config -g github-oauth.github.com "$GITHUB_TOKEN"
   - composer install -n
   - composer install -n
   - npm install -g mocha
   - npm install -g mocha
   - cd js
   - cd js