From 045fba30de9db9f2bfc92648e50c9ee26d90ce51 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Thu, 17 Jan 2019 00:07:35 -0700 Subject: [PATCH] Build web-ui on travis-ci --- .travis.yml | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 09d8918..31f1496 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,26 @@ -services: - - docker +matrix: + include: + - language: scala + scala: + - 2.12.2 + services: + - docker + before_install: + - docker pull postgres:9.6 + before_script: + - cd server + script: + - sbt clean coverage test coverageReport + after_success: + - sbt coverageAggregate codacyCoverage -before_install: -- docker pull postgres:9.6 - -language: scala - -scala: - - 2.12.2 - -before_script: cd server - -script: -- sbt clean coverage test coverageReport - -after_success: -- sbt coverageAggregate codacyCoverage + - language: node_js + node_js: + - 8.14.0 + before_script: + - cd web-ui + - npm install -g @angular/cli + - npm install -g @angular-devkit/build-angular + - npm install + script: + - ng build --prod