icingaweb2/.travis.yml

44 lines
759 B
YAML
Raw Normal View History

2017-02-08 15:59:12 +01:00
language: php
dist: trusty
2017-02-08 15:59:12 +01:00
sudo: required
php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
matrix:
include:
- php: '5.3'
dist: precise
2017-02-08 15:59:12 +01:00
services:
- mysql
- postgresql
cache:
directories:
- vendor
branches:
only:
- master
- /^v\d/
notifications:
email: false
# also see: test/setup_vendor.sh
before_script:
- sudo locale-gen en_US.UTF-8 de_DE.UTF-8 fr_FR.UTF-8
- test/travis_database.sh
- test/setup_vendor.sh
script:
# also see: modules/test/application/clicommands/PhpCommand.php
# phpcs is disabled until fixed...
# - php phpcs.phar -p --standard=icingaweb2.ruleset.xml --extensions=php --encoding=utf-8 application/ library/Icinga modules/ test/
- php phpunit.phar -c modules/test/phpunit.xml --verbose