Use postgresql for travis

This commit is contained in:
Tim Schumacher 2016-06-28 19:38:38 +02:00
parent c61b666a65
commit a447ba9713
5 changed files with 126 additions and 30 deletions

View file

@ -1,8 +1,17 @@
language: php
php:
- '5.6'
- '7.0'
services:
- postgresql
install:
- composer install
script: bin/phpunit -c app
before_script: phpenv config-add .travis-php-config.ini
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- cp app/config/config_travis.yml app/config/config_test.yml
script: bin/phpunit --verbose -c app