Skip to content

Commit

Permalink
Request nodejs to be installed, if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaroslav Tulach committed May 21, 2021
1 parent 9a14f42 commit d2e9fc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d2e9fc8

Please sign in to comment.