2013-07-26 02:50:54 +04:00
|
|
|
language: php
|
|
|
|
php:
|
2016-11-01 00:23:38 +03:00
|
|
|
- 5.5
|
|
|
|
- 5.6
|
|
|
|
- 7.0
|
|
|
|
- hhvm
|
2015-04-18 22:20:26 +03:00
|
|
|
before_install:
|
2016-11-01 00:23:38 +03:00
|
|
|
- travis_retry composer self-update
|
2015-04-18 22:20:26 +03:00
|
|
|
install:
|
2016-11-01 00:23:38 +03:00
|
|
|
- travis_retry composer install
|
|
|
|
- travis_retry composer require --dev 'phpunit/php-code-coverage=^2.2.4'
|
2015-04-18 22:20:26 +03:00
|
|
|
script:
|
2016-11-01 00:23:38 +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")'
|
|
|
|
notifications:
|
|
|
|
slack:
|
|
|
|
rooms:
|
|
|
|
secure: Xa/LYWGRDOt1Gjw10YTgYmVriSt/MSDOuzqoqQ8OWekJp05C2oRTor8dztEATTM4HQSLrwTa8CTnkFyD8+Z4fbnuvQ0dJ4j5CJYs5AjyirEWwblqS0PIATEEGKffDocsMh4VyMEPSwWXZY319bvG79mUq0E57VmT3y2ROMUuuec=
|