add travis build

This commit is contained in:
Yanzhen Yu
2018-11-01 13:36:55 +08:00
parent 25cd87ddf7
commit 86ad633080
3 changed files with 41 additions and 27 deletions

10
.travis.yml Normal file
View File

@@ -0,0 +1,10 @@
language: node_js
node_js:
- 10
install:
- npm install
script:
- xvfb-run --server-args="-screen 0 1920x1080x24" npm test