2016-11-29 09:51:09 +01:00
|
|
|
language: php
|
|
|
|
php:
|
|
|
|
- '5.4'
|
|
|
|
- '5.5'
|
|
|
|
- '5.6'
|
|
|
|
- '7.0'
|
2017-01-12 14:49:08 +01:00
|
|
|
- '7.1'
|
|
|
|
- nightly
|
2016-11-29 09:51:09 +01:00
|
|
|
|
|
|
|
services:
|
|
|
|
- mysql
|
|
|
|
- postgresql
|
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- vendor
|
|
|
|
|
2017-02-02 20:59:43 +01:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
allow_failures:
|
|
|
|
- php: nightly
|
|
|
|
|
2016-11-29 09:51:09 +01:00
|
|
|
env:
|
|
|
|
- DB=mysql DIRECTOR_TESTDB_RES="Director MySQL TestDB" DIRECTOR_TESTDB="director_test"
|
|
|
|
- DB=pgsql DIRECTOR_TESTDB_RES="Director PostgreSQL TestDB" DIRECTOR_TESTDB="director_test"
|
|
|
|
DIRECTOR_TESTDB_USER="director_test"
|
|
|
|
|
|
|
|
before_script:
|
2017-08-30 09:35:47 +02:00
|
|
|
- ./test/setup_vendor.sh
|
2016-11-29 09:51:09 +01:00
|
|
|
- ./test/travis-prepare.sh
|
2017-01-12 14:49:08 +01:00
|
|
|
|
|
|
|
script:
|
2017-08-30 09:39:18 +02:00
|
|
|
- php vendor/phpcs.phar
|
2017-12-11 10:10:41 +01:00
|
|
|
- php vendor/phpunit.phar --testdox || php vendor/phpunit.phar --verbose
|