mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-11-10 11:09:43 +08:00
Configure Travis.
This commit is contained in:
parent
c8bfe9ffaa
commit
159d489e52
@ -1 +1,9 @@
|
||||
sudo: required
|
||||
dist: trusty
|
||||
language: node_js
|
||||
node_js:
|
||||
- node
|
||||
script:
|
||||
- npm run ci
|
||||
notifications:
|
||||
email: false
|
||||
|
@ -5,7 +5,8 @@
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"lint": "eslint ./src/*",
|
||||
"test": "jest"
|
||||
"test": "jest",
|
||||
"ci": "npm run lint && npm run test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user