correct travis integration

This commit is contained in:
Julien Fastré 2014-11-06 15:29:24 +01:00
parent e976993db8
commit 7f1eeb5e75

View File

@ -9,9 +9,18 @@ matrix:
allow_failures:
- php: hhvm-nightly
addons:
postgresql: "9.3"
install:
- composer install --dev
- php Tests/Fixtures/App/console --env=test cache:warmup
- cp Tests/Fixtures/App/config/parameters.travis.yml Tests/Fixtures/App/config/parameters.yml
before_script:
- php Tests/Fixtures/App/console --env=test cache:warmup
- psql -c 'create database test0;' -U postgres
- php Tests/Fixtures/App/console doctrine:schema:create --env=test
- php Tests/Fixtures/App/console doctrine:fixtures:load --env=test
script: phpunit --coverage-text