Skip to content

Commit

Permalink
Add codecov and travis files
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonEtco committed Mar 31, 2019
1 parent 63e6672 commit c0d67de
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
sudo: false

language: node_js

node_js:
- "10"

notifications:
disabled: true

install:
- npm install -g codecov
- npm ci

branches:
except:
- /^v\d+\.\d+\.\d+$/

script:
- npm test
- codecov
11 changes: 11 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
coverage:
status:
project:
default:
# Fail the status if coverage drops by >= 3%
threshold: 3
patch:
default:
threshold: 3

comment: false

0 comments on commit c0d67de

Please sign in to comment.