icingaweb2-module-director/.travis.yml

31 lines
545 B
YAML

language: php
php:
- '5.3'
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- nightly
services:
- mysql
- postgresql
cache:
directories:
- vendor
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:
- composer self-update --stable
- ./test/travis-prepare.sh
- composer install
script:
- phpunit --testdox || phpunit --verbose