GeoIP2-php/.travis.yml

30 lines
561 B
YAML
Raw Normal View History

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
before_install:
2013-05-20 20:31:06 +00:00
- composer self-update
- composer install --dev -n --prefer-source
2014-04-03 17:59:16 +00:00
- if [ "hhvm" != "$(phpenv version-name)" ]; then pyrus install pear/PHP_CodeSniffer; fi
- phpenv rehash
script:
- mkdir -p build/logs
2014-04-03 17:59:16 +00:00
- if [ "hhvm" != "$(phpenv version-name)" ]; 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