Generate code coverage properly
authorwidmogrod <widmogrod@gmail.com>
Thu, 21 Dec 2017 20:57:20 +0000 (21:57 +0100)
committerwidmogrod <widmogrod@gmail.com>
Thu, 21 Dec 2017 20:57:20 +0000 (21:57 +0100)
.travis.yml
composer.json

index c001783..22b94d6 100644 (file)
@@ -30,7 +30,6 @@ script:
  - if [[ $COVERAGE == yes ]]; then composer check-code; fi
 
 after_script:
- - if [[ $COVERAGE == yes ]]; then ./cc-test-reporter upload-coverage --input ./codecoverage.xml ; fi
  - if [[ $COVERAGE == yes ]]; then ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT; fi
 
 notifications:
index a65ce93..9c6ab55 100644 (file)
@@ -19,7 +19,7 @@
   "prefer-stable": true,
   "scripts": {
     "test": "phpunit --no-coverage",
-    "testc": "phpunit --coverage-clover ./codecoverage.xml",
+    "testc": "phpunit --coverage-clover ./clover.xml",
     "fix-code": "php-cs-fixer fix",
     "check-code": "php-cs-fixer fix --verbose --diff --dry-run"
   },