diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-09-26 19:23:20 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-09-26 19:23:20 +0200 |
commit | 609594fa5e5b9938dd4263bb7fcd659139374f37 (patch) | |
tree | 7fe57960a70179bc4787ad1e7bd08cd05c45e8bf | |
parent | dc22b46bf3428f0000e21ad831357dee4c91246a (diff) | |
download | wallabag-609594fa5e5b9938dd4263bb7fcd659139374f37.tar.gz wallabag-609594fa5e5b9938dd4263bb7fcd659139374f37.tar.zst wallabag-609594fa5e5b9938dd4263bb7fcd659139374f37.zip |
Fix authentication error from Github
From: http://blog.wyrihaximus.net/2015/09/github-auth-token-on-travis/
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index b2747e7d..8c9047df 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -34,10 +34,9 @@ branches: | |||
34 | only: | 34 | only: |
35 | - v2 | 35 | - v2 |
36 | 36 | ||
37 | install: | ||
38 | - composer self-update | ||
39 | |||
40 | before_script: | 37 | before_script: |
38 | - composer self-update | ||
39 | - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi; | ||
41 | # disable xdebug since we don't use code-coverage for now | 40 | # disable xdebug since we don't use code-coverage for now |
42 | - if [[ $TRAVIS_PHP_VERSION != '5.6' && $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then phpenv config-rm xdebug.ini; fi | 41 | - if [[ $TRAVIS_PHP_VERSION != '5.6' && $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then phpenv config-rm xdebug.ini; fi |
43 | # build coverage only on one build, to speed up results feedbacks | 42 | # build coverage only on one build, to speed up results feedbacks |