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