Configure Travis.

This commit is contained in:
Oleksii Trekhleb 2018-03-28 16:25:26 +03:00
parent c8bfe9ffaa
commit 159d489e52
2 changed files with 10 additions and 1 deletions

View File

@ -1 +1,9 @@
sudo: required
dist: trusty
language: node_js language: node_js
node_js:
- node
script:
- npm run ci
notifications:
email: false

View File

@ -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",