Skip to content
Newer
Older
100644 26 lines (20 sloc) 788 Bytes
d34e3c4 @Ocramius Adding simple travis runner configuration to verify that doctrine CLI…
Ocramius authored
1 language: php
2
3 php:
4 - 5.4
cfba7e5 @Ocramius Cleaning up test suite to use real unit testing
Ocramius authored
5 - 5.5
3845ded @Bilge Removed Travis build for 5.3 and added builds for 5.6 and 7.0.
Bilge authored
6 - 5.6
bce52e0 @mpalourdio Enable code coverage generation and scrutinizer-ci inspections for al…
mpalourdio authored
7 - 7
cc2d752 @Ocramius Adding HHVM to the build matrix - 5.5 not allowed to fail anymore
Ocramius authored
8 - hhvm
cfba7e5 @Ocramius Cleaning up test suite to use real unit testing
Ocramius authored
9
10 matrix:
11 allow_failures:
bce52e0 @mpalourdio Enable code coverage generation and scrutinizer-ci inspections for al…
mpalourdio authored
12 - php: 7
cc2d752 @Ocramius Adding HHVM to the build matrix - 5.5 not allowed to fail anymore
Ocramius authored
13 - php: hhvm
d34e3c4 @Ocramius Adding simple travis runner configuration to verify that doctrine CLI…
Ocramius authored
14
15 before_script:
3845ded @Bilge Removed Travis build for 5.3 and added builds for 5.6 and 7.0.
Bilge authored
16 - composer install --no-interaction --prefer-source
d34e3c4 @Ocramius Adding simple travis runner configuration to verify that doctrine CLI…
Ocramius authored
17
18 script:
cfba7e5 @Ocramius Cleaning up test suite to use real unit testing
Ocramius authored
19 - ./vendor/bin/phpunit --coverage-clover ./build/clover.xml
bce52e0 @mpalourdio Enable code coverage generation and scrutinizer-ci inspections for al…
mpalourdio authored
20 - if [ $TRAVIS_PHP_VERSION != 'hhvm' ] && [ $TRAVIS_PHP_VERSION != '7' ]; then php build/coverage-checker.php build/clover.xml 70; fi
14007de @gianarb Update code_sniffer deps and check travis conf
gianarb authored
21 - ./vendor/bin/phpcs --standard=vendor/doctrine/coding-standard/Doctrine ./src/ ./tests/
b2c8e5c @mpalourdio Re-enable scrutinizer-ci code coverage
mpalourdio authored
22
23 after_script:
bce52e0 @mpalourdio Enable code coverage generation and scrutinizer-ci inspections for al…
mpalourdio authored
24 - if [ $TRAVIS_PHP_VERSION != 'hhvm' ] && [ $TRAVIS_PHP_VERSION != '7' ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
25 - if [ $TRAVIS_PHP_VERSION != 'hhvm' ] && [ $TRAVIS_PHP_VERSION != '7' ]; then php ocular.phar code-coverage:upload --format=php-clover ./build/clover.xml; fi
Something went wrong with that request. Please try again.