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=