From: Jeremy Benoist Date: Sat, 26 Sep 2015 17:23:20 +0000 (+0200) Subject: Fix authentication error from Github X-Git-Tag: 2.0.0-alpha.1~36^2~5 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=609594fa5e5b9938dd4263bb7fcd659139374f37;p=github%2Fwallabag%2Fwallabag.git Fix authentication error from Github From: http://blog.wyrihaximus.net/2015/09/github-auth-token-on-travis/ --- diff --git a/.travis.yml b/.travis.yml index b2747e7d..8c9047df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,10 +34,9 @@ branches: only: - v2 -install: - - composer self-update - before_script: + - composer self-update + - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi; # disable xdebug since we don't use code-coverage for now - if [[ $TRAVIS_PHP_VERSION != '5.6' && $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then phpenv config-rm xdebug.ini; fi # build coverage only on one build, to speed up results feedbacks