Skip to content

Commit

Permalink
TEST Add configuration for codecov.io for coverage instead of Scrutin…
Browse files Browse the repository at this point in the history
…izer
  • Loading branch information
robbieaverill committed Jan 6, 2017
1 parent d8ddb39 commit 0ef932b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
15 changes: 0 additions & 15 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,3 @@ coding_style:
around_operators:
concatenation: true

build:
environment:
php: '7.1.0'
dependencies:
override:
- composer install -n
- composer require silverstripe/framework ^4.0@dev
- composer require phpunit/phpunit ^5.7
tests:
override:
-
command: 'php vendor/bin/phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'clover'
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ before_install:
- travis_retry composer require phpunit/phpunit ^5.7

script:
- php vendor/bin/phpunit
- php vendor/bin/phpunit --coverage-clover=coverage.xml

after_success:
- mv coverage.xml ~/build/$TRAVIS_REPO_SLUG
- cd ~/build/$TRAVIS_REPO_SLUG
- bash <(curl -s https://codecov.io/bash)
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# silverleague/silverstripe-console

[![Travis](https://img.shields.io/travis/silverleague/silverstripe-console.svg)](https://travis-ci.org/silverleague/silverstripe-console) [![Scrutinizer](https://img.shields.io/scrutinizer/g/silverleague/silverstripe-console.svg)](https://scrutinizer-ci.com/g/silverleague/silverstripe-console/) [![Code Coverage](https://scrutinizer-ci.com/g/silverleague/silverstripe-console/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/silverleague/silverstripe-console/?branch=master)
[![Travis](https://img.shields.io/travis/silverleague/silverstripe-console.svg)](https://travis-ci.org/silverleague/silverstripe-console) [![Scrutinizer](https://img.shields.io/scrutinizer/g/silverleague/silverstripe-console.svg)](https://scrutinizer-ci.com/g/silverleague/silverstripe-console/) [![Code coverage](https://codecov.io/gh/silverleague/silverstripe-console/branch/master/graph/badge.svg)](https://codecov.io/gh/silverleague/silverstripe-console)


A useful command line interface for SilverStripe developers.

Expand Down

0 comments on commit 0ef932b

Please sign in to comment.