forked from bastienmichaux/generator-jhipster-db-helper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (43 loc) · 1.02 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
os:
- linux
language:
- node_js
node_js:
- "6.10.3"
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-set-default
cache:
yarn : true
directories:
- node_modules
- $HOME/.m2
env:
matrix:
- JHIPSTER_VERSION=4.0.8
- JHIPSTER_VERSION=4.2.0
- JHIPSTER_VERSION=latest
global:
- JHIPSTER_TRAVIS=$TRAVIS_BUILD_DIR/travis
- JHIPSTER_INSTALL=$JHIPSTER_TRAVIS/install
- JHIPSTER_SAMPLES=$JHIPSTER_TRAVIS/samples
- JHIPSTER_SCRIPTS=$JHIPSTER_TRAVIS/scripts
before_install:
- export JAVA_HOME=/usr/lib/jvm/java-8-oracle
- yarn global add yo bower gulp-cli generator-jhipster
install:
- yarn install
- yarn test
- yarn link
before_script:
- rm -r test
script:
- $JHIPSTER_SCRIPTS/00-configure-dependencies.sh
- $JHIPSTER_SCRIPTS/01-generate-project.sh
- $JHIPSTER_SCRIPTS/02-generate-entities.sh
notifications:
# We will invert both when we'll have a smooth running build
email: false