Skip to content

Commit d8ac4e6

Browse files
committed
tests: remove code coverage via codecov
- in practice I didn't find it very useful - more often then not and especially recently it simply didn't work, timed out when trying to upload data
1 parent bf0a97c commit d8ac4e6

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.travis.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ cache:
88

99
env:
1010
global:
11-
- CODE_COVERAGE=0
1211
- INSTALL_LARAVEL=0
1312
- INSTALL_LUMEN=0
1413
- STATIC_ANALYSER=0
@@ -40,7 +39,7 @@ matrix:
4039
- php: '7.3'
4140
env: LARAVEL='5.7.*'
4241
- php: '7.3'
43-
env: LARAVEL='5.8.*' CODE_COVERAGE=1 STATIC_ANALYSER=1 INSTALL_LARAVEL=1 INSTALL_LUMEN=1
42+
env: LARAVEL='5.8.*' STATIC_ANALYSER=1 INSTALL_LARAVEL=1 INSTALL_LUMEN=1
4443
- php: '7.3'
4544
env: LARAVEL='dev-master'
4645
- php: '7.4snapshot'
@@ -70,16 +69,7 @@ install:
7069

7170
script:
7271
- if [[ $STATIC_ANALYSER = 1 ]]; then composer phpstan; fi
73-
- if [[ $CODE_COVERAGE = 0 ]]; then vendor/bin/phpunit --colors=always --verbose; fi
74-
- |
75-
if [[ $CODE_COVERAGE = 1 ]]; then
76-
phpdbg -qrr vendor/bin/phpunit --colors=always --verbose --coverage-clover=coverage.xml
77-
bash <(curl -s https://codecov.io/bash) -cF lazyload-off
78-
fi
79-
- |
80-
if [[ $CODE_COVERAGE = 1 ]]; then
81-
TESTS_ENABLE_LAZYLOAD_TYPES=1 phpdbg -qrr vendor/bin/phpunit --colors=always --verbose --coverage-clover=coverage.xml
82-
bash <(curl -s https://codecov.io/bash) -cF lazyload-on
83-
fi
72+
- vendor/bin/phpunit --colors=always --verbose
73+
- TESTS_ENABLE_LAZYLOAD_TYPES=1 vendor/bin/phpunit --colors=always --verbose
8474
- if [[ $INSTALL_LARAVEL = 1 ]]; then export -f travis_retry ; tests/integration-larvavel.sh; fi
8575
- if [[ $INSTALL_LUMEN = 1 ]]; then export -f travis_retry ; tests/integration-lumen.sh; fi

0 commit comments

Comments
 (0)