add composer auth to travis

this should remove 'could not download package from source' message
This commit is contained in:
Julien Fastré 2015-01-29 18:35:57 +01:00
parent d6822520d2
commit bf1eb51873

View File

@ -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=