PhpSpreadsheet/.travis.yml

33 lines
593 B
YAML
Raw Normal View History

2012-11-23 10:51:34 +00:00
language: php
php:
- 5.2
- 5.3
2015-05-12 06:02:56 +00:00
- 5.3.3
2012-11-23 10:51:34 +00:00
- 5.4
2013-09-06 08:53:46 +00:00
- 5.5
2014-07-09 10:18:09 +00:00
- 5.6
- hhvm
matrix:
2015-05-12 06:02:56 +00:00
allow_failures:
- php: hhvm
before_script:
## Packages
- sudo apt-get -qq update > /dev/null
## Composer
##@todo Remove when support of 5.2 will be dropped
- phpenv global 5.3
- composer self-update
- composer install --prefer-source --dev
- phpenv global "$TRAVIS_PHP_VERSION"
2012-11-23 10:51:34 +00:00
script:
2015-05-12 06:02:56 +00:00
## PHP_CodeSniffer
- ./vendor/bin/phpcs Classes/ unitTests/ --standard=PSR2 -n --ignore=Classes/PHPExcel/Shared/PCLZip
## PHPUnit
- phpunit -c ./unitTests/
2012-11-23 10:51:34 +00:00
notifications:
2015-05-12 06:02:56 +00:00
email: false