FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Configure Travis. · codemilli/javascript-algorithms@159d489 · GitHub

Commit 159d489

Browse files
committed
Configure Travis.
1 parent c8bfe9f commit 159d489

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎.travis.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1+
sudo: required
2+
dist: trusty
13
language: node_js
4+
node_js:
5+
- node
6+
script:
7+
- npm run ci
8+
notifications:
9+
email: false

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "index.js",
66
"scripts": {
77
"lint": "eslint ./src/*",
8-
"test": "jest"
8+
"test": "jest",
9+
"ci": "npm run lint && npm run test"
910
},
1011
"repository": {
1112
"type": "git",

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL