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