icingaweb2-module-director/.travis.yml

43 lines
930 B
YAML
Raw Normal View History

2016-11-29 09:51:09 +01:00
language: php
php:
- '5.6'
- '7.0'
- '7.1'
2018-07-05 23:28:19 +02:00
- '7.2'
- '7.3'
2019-11-28 16:18:30 +01:00
- '7.4snapshot'
- nightly
2016-11-29 09:51:09 +01:00
services:
- mysql
- postgresql
2019-09-11 23:22:49 +02:00
#cache:
# directories:
# - vendor
2016-11-29 09:51:09 +01:00
matrix:
fast_finish: true
include:
- env: CHECK=phpcs
php: nightly # Note: will be allowed failure
- env: CHECK=phpcs
php: '7.0'
- env: CHECK=phpcs
2019-08-19 11:18:27 +02:00
php: '5.6'
allow_failures:
- php: nightly
2016-11-29 09:51:09 +01:00
env:
- CHECK=phpunit DB=mysql DIRECTOR_TESTDB_RES="Director MySQL TestDB" DIRECTOR_TESTDB="director_test"
- CHECK=phpunit DB=pgsql DIRECTOR_TESTDB_RES="Director PostgreSQL TestDB" DIRECTOR_TESTDB="director_test"
2016-11-29 09:51:09 +01:00
DIRECTOR_TESTDB_USER="director_test"
before_script:
- ./test/setup_vendor.sh
- '[ "$CHECK" != phpunit ] || ./test/travis-prepare.sh'
script:
- '[ "$CHECK" != phpcs ] || php vendor/phpcs.phar'
- '[ "$CHECK" != phpunit ] || php vendor/phpunit.phar --testdox || php vendor/phpunit.phar --verbose'