From d2e9fc82f44907207d5f0cba5ec46a1a39f5c764 Mon Sep 17 00:00:00 2001 From: Jaroslav Tulach Date: Wed, 19 May 2021 12:00:13 +0200 Subject: [PATCH] Request nodejs to be installed, if missing --- .test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.test.sh b/.test.sh index d8da01f..b0553e0 100755 --- a/.test.sh +++ b/.test.sh @@ -49,6 +49,9 @@ $GRAALBIN/ruby ruby/sieve.rb 25 echo -en 'travis_fold:end:ruby\\r' echo -en 'travis_fold:start:js\\r' +if ! [ -f $GRAALBIN/node ]; then + ginstall nodejs +fi $GRAALBIN/node js/sieve.js 15 mvn -q -f js/fromjava/pom.xml package exec:exec -Drepeat=15 JAVA_HOME=$1 mvn -q -f js/fromjava/pom.xml package exec:exec -Drepeat=15