Skip to content

Commit

Permalink
ci(travis): setup ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
luqmanoop committed Apr 9, 2019
1 parent e12770e commit 0c5c8de
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
language: node_js
node_js:
- "10"
cache:
directories:
- ~/.npm
notifications:
email: false
script:
- npm run test
after_success:
- npm run coverage
branches:
only: master
except: /^v\d+\.\d+\.\d+$/
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"build": "npm-run-all clean babel start",
"bundle": "npm-run-all clean microbundle",
"clean": "rimraf dist",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"microbundle": "microbundle --external dotenv --target node --format es,cjs",
"start": "node dist/index.js",
"test": "nyc --reporter=html --reporter=text mocha",
Expand Down

0 comments on commit 0c5c8de

Please sign in to comment.