#!/bin/bash
set -ev
npm install -g yo
npm install -g bower
npm install -g grunt-cli
npm install -g gulp
npm install -g generator-jhipster
#--------------------------------------------------
# use a snapshot version of jhipster
#--------------------------------------------------
git clone https://github.com/jhipster/generator-jhipster.git
cd $TRAVIS_BUILD_DIR/generator-jhipster
npm link

#!/bin/bash
set -ev
npm install -g yo
npm install -g bower
npm install -g grunt-cli
npm install -g gulp
#--------------------------------------------------
# use a snapshot version of jhipster
#--------------------------------------------------
git clone https://github.com/jhipster/generator-jhipster.git
cd $TRAVIS_BUILD_DIR/generator-jhipster
npm install -g

Use clone and npm install -g directly
Use clone and npm install -g directly
