From 6daadb6c447757e87c1be9fa6df9917cc834603d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sat, 27 Feb 2016 11:26:09 +0100 Subject: Fix authentication for PR by external contributors --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 819d29fd..c6d371a5 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 -- cgit v1.2.3