travis and coverage

This commit is contained in:
Sébastien Chopin 2016-12-09 18:53:55 +01:00
parent 5fc338e6b2
commit 59408bd329
2 changed files with 23 additions and 0 deletions

8
.gitignore vendored
View File

@ -8,5 +8,13 @@ npm-debug.log
# other
.nuxt
# Dist folder
dist
# dist example generation
examples/**/dist
# Coverage support
coverage
*.lcov
.nyc_output

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
language: node_js
node_js:
- "7.2.x"
- "6.9.x"
- "5.12.x"
- "4.7.x"
- "0.12.x"
- "0.10.x"
install:
- npm install
- npm run build
script:
- npm test
after_success:
- npm run coverage