Skip to content

Commit 008be66

Browse files
authored
Merge pull request #15 from introproventures/codecov_integration
Add codecov.io integration with Travis-CI
2 parents 70b1735 + 1a9724e commit 008be66

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
codecov:
2+
branch: master

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ cache:
99
- $HOME/.m2
1010

1111
after_success:
12+
# Send coverage data
13+
- bash <(curl -s https://codecov.io/bash)
14+
# Push docker image to Docker Hub
1215
- if [ "$TRAVIS_BRANCH" == "master" ]; then
1316
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
1417
docker push introproventures/graphql-jpa-query-example:latest;

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ GraphQL Query for JPA Entity Model
22
===============
33

44
[![Build Status](https://travis-ci.org/introproventures/graphql-jpa-query.svg?branch=master)](https://travis-ci.org/introproventures/graphql-jpa-query)
5+
[![codecov](https://codecov.io/gh/introproventures/graphql-jpa-query/branch/master/graph/badge.svg)](https://codecov.io/gh/introproventures/graphql-jpa-query)
56

67
This library uses [graphql-java v3.0](https://github.com/andimarek/graphql-java) to derive and build the GraphQL schema from JPA Entity Schema provided by entity classes.
78

0 commit comments

Comments
 (0)