28 lines
440 B
YAML
28 lines
440 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.3
|
|
- 5.4
|
|
- 5.5
|
|
|
|
before_install:
|
|
- composer self-update
|
|
- composer install --dev -n --prefer-source
|
|
- pyrus install pear/PHP_CodeSniffer
|
|
- phpenv rehash
|
|
|
|
script:
|
|
- mkdir -p build/logs
|
|
- phpcs --standard=PSR2 src/
|
|
- phpunit -c phpunit.xml.dist
|
|
|
|
after_script:
|
|
- php vendor/bin/coveralls
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- dev@maxmind.com
|
|
on_success: change
|
|
on_failure: always
|