30 lines
561 B
YAML
30 lines
561 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 [ "hhvm" != "$(phpenv version-name)" ]; then pyrus install pear/PHP_CodeSniffer; fi
|
|
- phpenv rehash
|
|
|
|
script:
|
|
- mkdir -p build/logs
|
|
- if [ "hhvm" != "$(phpenv version-name)" ]; 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
|