Skip to content

Commit

Permalink
Code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Sep 17, 2016
1 parent 5d43351 commit 322b932
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ before_script:
- cd ~/builds/ss

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

after_success:
- mv coverage.xml ~/build/$TRAVIS_REPO_SLUG
- cd ~/build/$TRAVIS_REPO_SLUG
- bash <(curl -s https://codecov.io/bash)
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# SilverStripe GraphQL Server

[![Build Status](https://travis-ci.org/chillu/silverstripe-graphql.svg?branch=master)](https://travis-ci.org/chillu/silverstripe-graphql)
[![codecov](https://codecov.io/gh/chillu/silverstripe-graphql/branch/master/graph/badge.svg)](https://codecov.io/gh/chillu/silverstripe-graphql)

This modules serves SilverStripe data as
[GraphQL](http://facebook.github.io/react/blog/2015/05/01/graphql-introduction.html) representations,
Expand Down

0 comments on commit 322b932

Please sign in to comment.