From ba3b31e65a7461f4a85c57b7b77701ef8a6bdab4 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 15 Aug 2015 11:45:41 -0400 Subject: Try to run database tests on travis --- .travis.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 42c4d550..49f3465e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: php +sudo: false php: - 7.0 @@ -7,14 +8,17 @@ php: - 5.4 - 5.3 +env: + - DB=sqlite + - DB=mysql + - DB=postgres + matrix: fast_finish: true - allow_failures: - - php: 7.0 before_script: - phpenv config-add tests/php.ini - composer install script: - - phpunit -c tests/units.sqlite.xml + - phpunit -c tests/units.$DB.xml \ No newline at end of file -- cgit v1.2.3