changeset 21:745245d33789

Run web-client integration tests on build Reviewed-by: stooke Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2017-September/025034.html
author Andrew Azores <aazores@redhat.com>
date Fri, 15 Sep 2017 10:00:51 -0400
parents 2e6d2b6f31ef
children 0a4ed473faab
files thermostat-ng.sh
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/thermostat-ng.sh	Fri Sep 15 11:43:52 2017 +0200
+++ b/thermostat-ng.sh	Fri Sep 15 10:00:51 2017 -0400
@@ -202,7 +202,13 @@
   export NODE_ENV=testing
   export GATEWAY_URL
   npm install
-  npm run build
+  if [ $CYGWIN_MODE == 1 ] ; then
+      # FIXME: web-client integration tests do not currently run on Windows, so
+      # only run unit tests
+      npm run build
+  else
+      npm run verify
+  fi
 }
 
 build_web_gateway() {