Skip to content
Permalink
Browse files

Use cc bash script

  • Loading branch information...
jacobemerick committed Sep 20, 2019
1 parent a45a29b commit 357fbd0aad0ef12c1cae98dcffad1a8a460ccdea
Showing with 67 additions and 548 deletions.
  1. +8 −2 .travis.yml
  2. +0 −4 bin/codeclimate.sh
  3. +0 −1 composer.json
  4. +59 −541 composer.lock
@@ -11,7 +11,13 @@ install:
- composer self-update
- composer update --no-interaction

script: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build

script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
- bash bin/codeclimate.sh
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

This file was deleted.

@@ -7,7 +7,6 @@
"psr/log": "^1.0"
},
"require-dev": {
"codeclimate/php-test-reporter": "dev-master",
"phpunit/phpunit": "^5.0 || ^6.5 || ^7.0"
},
"autoload": {

0 comments on commit 357fbd0

Please sign in to comment.
You can’t perform that action at this time.