2013-05-07 16:38:19 +00:00
|
|
|
language: php
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 5.3
|
|
|
|
- 5.4
|
|
|
|
- 5.5
|
|
|
|
|
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
|
2013-05-09 14:55:42 +00:00
|
|
|
- pyrus install pear/PHP_CodeSniffer
|
|
|
|
- phpenv rehash
|
2013-05-09 14:29:29 +00:00
|
|
|
|
|
|
|
script:
|
2013-05-20 19:50:10 +00:00
|
|
|
- mkdir -p build/logs
|
2013-05-09 14:29:29 +00:00
|
|
|
- phpcs --standard=PSR2 src/
|
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
|