Added travis ci support
This commit is contained in:
parent
2cffe4e3f4
commit
45de39f6fe
1 changed files with 20 additions and 0 deletions
20
.travis.yml
Normal file
20
.travis.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
language: node_js
|
||||||
|
|
||||||
|
node_js:
|
||||||
|
- 6
|
||||||
|
- 4
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- node_modules
|
||||||
|
|
||||||
|
install:
|
||||||
|
- npm i -g npm@latest
|
||||||
|
- npm install
|
||||||
|
|
||||||
|
script:
|
||||||
|
- npm run test
|
||||||
|
- npm run lint
|
||||||
|
- npm run build
|
||||||
Reference in a new issue