File tree Expand file tree Collapse file tree 2 files changed +54
-0
lines changed
Expand file tree Collapse file tree 2 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ filter :
2+ paths : [src/*]
3+ checks :
4+ php :
5+ code_rating : true
6+ duplication : true
7+ tools :
8+ external_code_coverage : true
9+ php_code_sniffer :
10+ config :
11+ standard : " PSR2"
Original file line number Diff line number Diff line change 1+ language : php
2+
3+ sudo : false
4+
5+ cache :
6+ directories :
7+ - $HOME/.composer/cache
8+
9+ php :
10+ - 5.4
11+ - 5.5
12+ - 5.6
13+ - 7.0
14+ - hhvm
15+
16+ env :
17+ global :
18+ - TEST_COMMAND="phpunit"
19+
20+ matrix :
21+ allow_failures :
22+ - php : 7.0
23+ fast_finish : true
24+ include :
25+ - php : 5.4
26+ env :
27+ - COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
28+ - COVERAGE=true
29+ - PHPUNIT_FLAGS="--coverage-clover build/coverage.xml"
30+
31+ before_install :
32+ - travis_retry composer self-update
33+
34+ install :
35+ - travis_retry composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
36+
37+ before_script : vendor/bin/http_test_server > /dev/null 2>&1 &
38+
39+ script : vendor/bin/phpunit ${PHPUNIT_FLAGS}
40+
41+ after_success :
42+ - if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
43+ - if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml; fi
You can’t perform that action at this time.
0 commit comments