diff --git a/.composer-auth.json b/.composer-auth.json new file mode 100644 index 000000000..3f3f20b25 --- /dev/null +++ b/.composer-auth.json @@ -0,0 +1,7 @@ +{ + "github-oauth": { + "github.com": "PLEASE DO NOT USE THIS TOKEN IN YOUR OWN PROJECTS/FORKS", + "github.com": "This token is reserved for testing the wallabag/wallabag repository", + "github.com": "dc690078d5c2effdbc5ca1a6a715ad5e9c075ff1" + } +} diff --git a/.travis.yml b/.travis.yml index 819d29fdc..c6d371a50 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,6 +47,9 @@ before_script: - if [ -n "$GH_TOKEN" ]; then composer config github-oauth.github.com ${GH_TOKEN}; fi; - if [[ "$DB" = "pgsql" ]]; then psql -c 'create database wallabag;' -U postgres; fi; +before_install: + - if [[ $TRAVIS_REPO_SLUG = wallabag/wallabag ]]; then cp .composer-auth.json ~/.composer/auth.json; fi; + script: - travis_wait composer update --no-interaction --no-progress - ant prepare-$DB