2012-11-23 10:51:34 +00:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
2013-09-06 08:53:46 +00:00
|
|
|
- 5.5
|
2014-07-09 10:18:09 +00:00
|
|
|
- 5.6
|
2015-05-24 13:58:16 +00:00
|
|
|
- 7.0
|
2016-08-13 14:45:37 +00:00
|
|
|
- 7.1
|
2014-07-09 10:18:09 +00:00
|
|
|
- hhvm
|
2016-08-13 14:40:31 +00:00
|
|
|
|
2014-07-09 10:18:09 +00:00
|
|
|
matrix:
|
2015-05-11 10:30:15 +00:00
|
|
|
allow_failures:
|
2016-08-13 14:45:37 +00:00
|
|
|
- php: 7.1
|
2015-05-11 10:30:15 +00:00
|
|
|
- php: hhvm
|
|
|
|
|
2016-08-13 14:40:31 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- vendor
|
|
|
|
- $HOME/.composer/cache
|
|
|
|
|
2015-05-11 10:30:15 +00:00
|
|
|
before_script:
|
|
|
|
## Packages
|
|
|
|
- sudo apt-get -qq update > /dev/null
|
|
|
|
## Composer
|
|
|
|
- composer self-update
|
2016-08-13 14:40:31 +00:00
|
|
|
- composer install
|
2012-11-23 10:51:34 +00:00
|
|
|
|
|
|
|
script:
|
2015-05-11 10:30:15 +00:00
|
|
|
## PHP_CodeSniffer
|
2015-05-26 20:24:14 +00:00
|
|
|
- ./vendor/bin/phpcs --report-width=200 --report-summary --report-full src/ unitTests/ --standard=PSR2 -n
|
2015-05-11 10:30:15 +00:00
|
|
|
## PHPUnit
|
2016-05-18 11:37:00 +00:00
|
|
|
- ./vendor/bin/phpunit -c ./unitTests/
|