File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 4
4
- 5.3
5
5
- 5.4
6
6
- 5.5
7
- - 5.6
8
7
- hhvm
9
8
10
9
branches :
@@ -32,6 +31,10 @@ matrix:
32
31
env :
33
32
- SYMFONY_VERSION='2.7.*@dev'
34
33
- FRAMEWORK_EXTRA_VERSION='~3.0'
34
+ - php : 5.6
35
+ env :
36
+ - PHPUNIT_FLAGS="--coverage-clover=coverage.clover"
37
+ - COVERAGE=true
35
38
36
39
# only needed for the hackaround for https://github.com/symfony/symfony/issues/12868
37
40
before_install :
@@ -47,13 +50,13 @@ before_script:
47
50
- sudo pip install -r Resources/doc/requirements.txt
48
51
49
52
script :
50
- - phpunit --coverage-clover=coverage.clover
53
+ - phpunit ${PHPUNIT_FLAGS}
51
54
- make -C Resources/doc SPHINXOPTS='-nW' html
52
55
- make -C Resources/doc spelling
53
56
54
57
after_script :
55
- - wget https://scrutinizer-ci.com/ocular.phar
56
- - php ocular.phar code-coverage:upload --format=php-clover coverage.clover
58
+ - if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
59
+ - if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
57
60
58
61
after_failure :
59
62
- cat /tmp/fos-http-cache-bundle/logs/test.log
You can’t perform that action at this time.
0 commit comments