From bf1eb5187331dfdc268a2e22751ebd5f41110c39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Thu, 29 Jan 2015 18:35:57 +0100 Subject: [PATCH] add composer auth to travis this should remove 'could not download package from source' message --- .travis.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0228fd3f7..06751b78a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,20 +3,16 @@ php: - 5.5 - 5.6 - hhvm-nightly - matrix: allow_failures: - - php: hhvm-nightly - + - php: hhvm-nightly sudo: false - addons: - postgresql: "9.3" - -install: - - composer install --dev --no-interaction - - cp Tests/Fixtures/App/app/config/parameters.travis.yml Tests/Fixtures/App/app/config/parameters.yml - + postgresql: '9.3' +install: + - composer config -g github-oauth.github.com $GITHUB_COMPOSER_AUTH + - composer install --dev --no-interaction + - cp Tests/Fixtures/App/app/config/parameters.travis.yml Tests/Fixtures/App/app/config/parameters.yml before_script: - psql -c 'create database test0;' -U postgres - psql -d test0 -c 'CREATE EXTENSION unaccent;' -U postgres @@ -24,9 +20,10 @@ before_script: - php Tests/Fixtures/App/app/console.php assets:install Tests/Fixtures/App/web - php Tests/Fixtures/App/app/console.php doctrine:migrations:migrate --no-interaction - php Tests/Fixtures/App/app/console.php doctrine:fixtures:load --env=test --no-interaction - script: phpunit --coverage-text - notifications: email: - - info@champs-libres.coop + - info@champs-libres.coop +env: + global: + secure: cTLFyo5WBqz9r+cfvYB9JozISdiXWBQ/feLmQQjOEjj+CiQteKYGh7oQkePyJJRdi95JO9jyXG8yiKGcEcVNLgwShLkwKno3iyiWOIDVl0mPmFUKbQPd9P3UVWpCiL3oH1JVTFd7uz6Mq+eUMrETeLa/3sxoxlnmre8ESqDIIEo=