Skip to content

Commit

Permalink
Set up Coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVerborgh committed Mar 1, 2020
1 parent a3d4f81 commit d8340f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ node_js:
- 13
- lts/*
- node
env:
- DEFAULT_NODE_VERSION=12

before_script:
- npm run build

after_success:
- if [ "$TRAVIS_NODE_VERSION" == "$DEFAULT_NODE_VERSION" ]; then
npm install coveralls;
node_modules/.bin/jest --coverage --coverageReporters=text-lcov |
node_modules/.bin/coveralls;
fi
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ with the [LDflex](https://github.com/LDflex/LDflex) language.

[![npm version](https://img.shields.io/npm/v/@ldflex/rdflib.svg)](https://www.npmjs.com/package/@ldflex/rdflib)
[![Build Status](https://travis-ci.com/LDflex/LDflex-rdflib.svg?branch=master)](https://travis-ci.com/LDflex/LDflex-rdflib)
[![Coverage Status](https://coveralls.io/repos/github/LDflex/LDflex-rdflib/badge.svg?branch=master)](https://coveralls.io/github/LDflex/LDflex-rdflib?branch=master)
[![Dependency Status](https://david-dm.org/LDflex/LDflex-rdflib.svg)](https://david-dm.org/LDflex/LDflex-rdflib)

## Installation
Expand Down

0 comments on commit d8340f1

Please sign in to comment.