Skip to content

Commit

Permalink
Codecov config
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejolley committed Sep 26, 2017
1 parent 9c327f0 commit a028bca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,3 @@
build:
environment:
php: "7.1"
mysql: true
postgresql: false
redis: false
apache2:
modules:
- rewrite
variables:
WP_VERSION: latest
dependencies:
before:
- "bash tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION"
tests:
override:
-
command: "vendor/bin/phpunit -c phpunit.xml --coverage-clover=coverage.clover"
coverage:
file: coverage.clover
format: php-clover
tools:
php_code_sniffer:
config:
Expand Down
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ before_script:
script:
- phpunit --version
- phpunit -c phpunit.xml
- vendor/bin/phpunit --coverage-clover=coverage.xml

after_script:
- bash tests/bin/travis.sh after

after_success:
- bash <(curl -s https://codecov.io/bash)

0 comments on commit a028bca

Please sign in to comment.