2013-05-07 16:38:19 +00:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.3
|
|
|
|
- 5.4
|
|
|
|
- 5.5
|
2014-04-03 17:59:16 +00:00
|
|
|
- 5.6
|
|
|
|
- hhvm
|
2013-05-07 16:38:19 +00:00
|
|
|
|
2013-05-09 14:29:29 +00:00
|
|
|
before_install:
|
2013-05-20 20:31:06 +00:00
|
|
|
- composer self-update
|
2013-05-20 21:13:45 +00:00
|
|
|
- composer install --dev -n --prefer-source
|
2014-05-02 13:57:11 +00:00
|
|
|
- if [ "5.5" == $TRAVIS_PHP_VERSION ]; then pyrus install pear/PHP_CodeSniffer; fi
|
2013-05-09 14:55:42 +00:00
|
|
|
- phpenv rehash
|
2013-05-09 14:29:29 +00:00
|
|
|
|
|
|
|
script:
|
2013-05-20 19:50:10 +00:00
|
|
|
- mkdir -p build/logs
|
2014-05-02 13:57:11 +00:00
|
|
|
- if [ "5.5" == $TRAVIS_PHP_VERSION ]; then phpcs --standard=PSR2 src/; fi
|
2013-05-20 20:10:46 +00:00
|
|
|
- phpunit -c phpunit.xml.dist
|
2013-05-07 16:38:19 +00:00
|
|
|
|
2013-05-20 19:42:18 +00:00
|
|
|
after_script:
|
|
|
|
- php vendor/bin/coveralls
|
|
|
|
|
2013-05-07 16:38:19 +00:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- dev@maxmind.com
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|