From 21325b3c716ab4a7e02a044a3ee63f7e7230b306 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Mon, 16 Dec 2019 01:45:36 +0000 Subject: [PATCH] build frontend with travis --- .travis.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0c0b1e4b..1dabd962 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: