GeoIP2-php/.travis.yml
2014-05-02 06:57:11 -07:00

30 lines
549 B
YAML

language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
before_install:
- composer self-update
- composer install --dev -n --prefer-source
- if [ "5.5" == $TRAVIS_PHP_VERSION ]; then pyrus install pear/PHP_CodeSniffer; fi
- phpenv rehash
script:
- mkdir -p build/logs
- if [ "5.5" == $TRAVIS_PHP_VERSION ]; then phpcs --standard=PSR2 src/; fi
- phpunit -c phpunit.xml.dist
after_script:
- php vendor/bin/coveralls
notifications:
email:
recipients:
- dev@maxmind.com
on_success: change
on_failure: always