]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - .travis.yml
Fix authentication for PR by external contributors
[github/wallabag/wallabag.git] / .travis.yml
index 819d29fdc947db3564094dca32d88410edeb3a43..c6d371a50e3637bf4911c8894e7e6714211557d3 100644 (file)
@@ -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