Skip to content

Commit d5799c9

Browse files
committed
Remove code coverage upload
1 parent a331e9f commit d5799c9

File tree

2 files changed

+5
-19
lines changed

2 files changed

+5
-19
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ jobs:
6767
- make init
6868
script:
6969
- make validate
70-
after_script:
71-
- make upload-code-coverage
7270
- stage: Integration tests
7371
- php: 7.3
7472
env: MOODLE_BRANCH=MOODLE_36_STABLE

Makefile

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,10 @@ test-phpunit: vendor/autoload.php
1414
$(PHPUNIT)
1515

1616
.PHONY:validate
17-
validate: build/php-cs-fixer.phar build/coverage.clover
17+
validate: build/php-cs-fixer.phar vendor/autoload.php
1818
$(FIXER) fix --dry-run --stop-on-violation
1919
$(COMPOSER) validate
20-
21-
build/coverage.clover: vendor/autoload.php
22-
phpdbg -qrr $(PHPUNIT) --coverage-clover build/coverage.clover
23-
24-
.PHONEY:upload-code-coverage
25-
upload-code-coverage: build/ocular.phar build/coverage.clover
26-
cd build && php ocular.phar code-coverage:upload --format=php-clover coverage.clover
20+
phpdbg -qrr $(PHPUNIT) --coverage-text
2721

2822
.PHONY: init
2923
init: vendor/autoload.php
@@ -48,18 +42,12 @@ build/php-cs-fixer.phar:
4842
build/box.phar:
4943
@cd build && curl -LSs https://box-project.github.io/box2/installer.php | php
5044

51-
build/ocular.phar:
52-
curl -LSs https://scrutinizer-ci.com/ocular.phar -o build/ocular.phar
53-
5445
build/moodle-plugin-ci.phar: build/box.phar
5546
$(COMPOSER) install --no-dev --prefer-dist --classmap-authoritative --quiet
5647
php -d phar.readonly=false build/box.phar build
5748
$(COMPOSER) install --prefer-dist --quiet
5849

59-
composer.lock: composer.json
60-
$(COMPOSER) install --prefer-dist
61-
touch $@
62-
63-
vendor/autoload.php: composer.lock
64-
$(COMPOSER) install --prefer-dist
50+
vendor/autoload.php: composer.lock composer.json
51+
$(COMPOSER) self-update
52+
$(COMPOSER) install --no-suggest --no-progress
6553
touch $@

0 commit comments

Comments
 (0)