PHPExcel/.travis.yml
2015-05-12 13:30:05 +02:00

33 lines
585 B
YAML

language: php
php:
- 5.2
- 5.3
- 5.3.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
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"
script:
## PHP_CodeSniffer
- ./vendor/bin/phpcs --report-summary --report-full Classes/ unitTests/ --standard=PSR2 -n
## PHPUnit
- phpunit -c ./unitTests/
notifications:
email: false