diff --git a/.travis.yml b/.travis.yml index 18564f9304e..8b2859a2a10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,10 +27,14 @@ jdk: python: - "2.7" +node_js: + - 12 + cache: directories: - $HOME/.m2 timeout: 500 + npm: false notifications: email: false diff --git a/tools/travis/install.sh b/tools/travis/install.sh index 9ddd36ca8c2..c8c1b83dec8 100755 --- a/tools/travis/install.sh +++ b/tools/travis/install.sh @@ -37,6 +37,9 @@ export JAVA_HOME=$(readlink -f /usr/lib/jvm/java-11-openjdk-amd64/bin/java | sed mvn -v if [ $TEST_SEQUENCE_NUMBER -eq 1 ]; then + # npm lint, test and build + cd ui && npm install && npm run lint && npm run test:unit && npm run build + cd $DIR # Pylint/pep8 systemvm python codebase cd systemvm/test && bash -x runtests.sh # Build noredist diff --git a/ui/index.html b/ui/index.html index 47510b40621..64421d66bae 100644 --- a/ui/index.html +++ b/ui/index.html @@ -24,6 +24,6 @@
The legacy UI has been deprecated in this version as notified in the previous release. The legacy UI will be removed in the next release.
To access the legacy UI click here.
You're in developer mode, please build and run UI using npm.