#!/bin/bash
set -ev
#--------------------------------------------------
# Launch tests
#--------------------------------------------------
cd $HOME/$JHIPSTER
if [ $JHIPSTER != "app-gradle" ]; then
  mvn test
else
  ./gradlew test
fi
if [ $JHIPSTER != "app-gulp" ]; then
  grunt test
else
  gulp test
fi

#!/bin/bash
set -ev
#--------------------------------------------------
# Launch tests
#--------------------------------------------------
cd $HOME/$JHIPSTER
if [ $JHIPSTER != "app-gradle" ]; then
  mvn test
else
  ./gradlew test
fi
if [ $JHIPSTER != "app-gulp" && $JHIPSTER != "app-jwt" ]; then
  grunt test
else
  gulp test
fi

Configure Travis to use Gulp for the JWT application
Configure Travis to use Gulp for the JWT application
