mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-01 07:59:26 -05:00
travis: run tests
This commit is contained in:
parent
643261c9f7
commit
8fe02f7dad
1 changed files with 20 additions and 0 deletions
20
.travis.yml
Normal file
20
.travis.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
language: php
|
||||
php:
|
||||
- '5.3'
|
||||
- '5.4'
|
||||
- '5.5'
|
||||
- '5.6'
|
||||
- '7.0'
|
||||
- '7.1'
|
||||
- nightly
|
||||
|
||||
before_script:
|
||||
- curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
|
||||
- wget https://github.com/Icinga/icingaweb2/archive/v2.4.0.tar.gz
|
||||
- tar xfz v2.4.0.tar.gz
|
||||
- ln -s icingaweb2-2.4.0/library/Icinga
|
||||
- ln -s icingaweb2-2.4.0/library/vendor/Zend
|
||||
|
||||
script:
|
||||
- php phpcs.phar --report=full --standard=PSR2 --extensions=php -w library/Businessprocess/ application/ configuration.php run.php test
|
||||
- phpunit --testdox || phpunit --verbose
|
||||
Loading…
Reference in a new issue