add travis

This commit is contained in:
cookfront
2017-04-20 19:13:44 +08:00
parent efd24b0680
commit ce1f2219cb
2 changed files with 69 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
language: node_js
node_js:
- 6
os: linux
dist: trusty
sudo: required
cache:
yarn: true
branches:
only:
- master
install:
- |
yarn install
script:
- |
npm run lint && npm run test