Skip to content
This repository has been archived by the owner on Nov 27, 2022. It is now read-only.

Commit

Permalink
Check coverage on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVerborgh committed Oct 20, 2018
1 parent 03b9cb1 commit 1e4bcb2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Expand Up @@ -3,7 +3,8 @@ node_js:
- 10
- node
env:
- CXX=g++-4.9
- DEFAULT_NODE_VERSION=10
CXX=g++-4.9
addons:
apt:
sources:
Expand All @@ -14,5 +15,12 @@ addons:
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

cache:
apt: true

0 comments on commit 1e4bcb2

Please sign in to comment.