diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..9056c9a --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/codecov.yml b/codecov.yml new file mode 100644 index 0000000..beddfc0 --- /dev/null +++ b/codecov.yml @@ -0,0 +1,11 @@ +coverage: + status: + project: + default: + # Fail the status if coverage drops by >= 3% + threshold: 3 + patch: + default: + threshold: 3 + +comment: false