Skip to content

Commit

Permalink
Add CI config.
Browse files Browse the repository at this point in the history
  • Loading branch information
octet-stream committed Feb 8, 2020
1 parent aaa386e commit a65defd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
language: node_js
cache: yarn
node_js:
- 10
- 12
- 13
- node
install:
- yarn
script:
- yarn run ci
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"scripts": {
"size": "size-limit",
"staged": "lint-staged",
"coverage": "nyc ava"
"coverage": "nyc ava",
"test": "ava",
"ci": "nyc npm test && nyc report --reporter=lcov && node_modules/.bin/codecov"
},
"ava": {
"files": [
Expand Down

0 comments on commit a65defd

Please sign in to comment.