2013-07-26 02:50:54 +04:00
|
|
|
language: php
|
2016-10-27 09:34:27 +03:00
|
|
|
|
2013-07-26 02:50:54 +04:00
|
|
|
php:
|
2013-07-26 02:58:01 +04:00
|
|
|
- 5.5
|
2014-07-15 09:17:27 +04:00
|
|
|
- 5.6
|
2015-04-18 22:20:26 +03:00
|
|
|
- 7.0
|
2014-07-15 09:17:27 +04:00
|
|
|
- hhvm
|
|
|
|
|
2015-04-18 22:20:26 +03:00
|
|
|
before_install:
|
|
|
|
- travis_retry composer self-update
|
2013-07-26 02:58:01 +04:00
|
|
|
|
2015-04-18 22:20:26 +03:00
|
|
|
install:
|
|
|
|
- travis_retry composer install
|
2016-10-27 09:34:27 +03:00
|
|
|
- travis_retry composer require --dev 'phpunit/php-code-coverage=^2.2.4'
|
2015-04-18 22:20:26 +03:00
|
|
|
|
|
|
|
script:
|
2016-10-27 09:34:27 +03:00
|
|
|
- phpunit -c phpunit.xml.dist --testsuite unit --coverage-text
|
|
|
|
- phpunit -c phpunit.xml.dist --testsuite functional --coverage-text
|
|
|
|
- '[[ "${TRAVIS_PULL_REQUEST}" == "false" ]] && ( phpunit -c phpunit.xml.dist --testsuite integration --coverage-text ) || ( echo "Testing PR - No integration tests available")'
|