build frontend with travis

This commit is contained in:
wh1te909 2019-12-16 01:45:36 +00:00
parent 09e3f69736
commit 21325b3c71
1 changed files with 34 additions and 0 deletions

View File

@ -2,6 +2,40 @@ dist: xenial
matrix:
include:
- language: node_js
node_js: "10"
before_install:
- cd web
install:
- npm install
script:
- npm run build
- language: node_js
node_js: "11"
before_install:
- cd web
install:
- npm install
script:
- npm run build
- language: node_js
node_js: "12"
before_install:
- cd web
install:
- npm install
script:
- npm run build
- language: node_js
node_js: "10"
before_script:
- mkdir meshcentral && cd meshcentral
script:
- npm install meshcentral
- language: node_js
node_js: "11"
before_script: