diff --git a/.travis.yml b/.travis.yml index 78a494918..22adc9f0f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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