forked from jhipster/generator-jhipster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (54 loc) · 1.58 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
44
45
46
47
48
49
50
51
52
53
54
55
os:
- linux
services:
- docker
language: node_js
node_js:
- "4.2.4"
jdk:
- oraclejdk8
env:
global:
- JHIPSTER_NODE_CACHE=1
- PROFILE=dev
- RUN_APP=1
- PROTRACTOR=0
- JHIPSTER_TRAVIS=$TRAVIS_BUILD_DIR/travis
- JHIPSTER_INSTALL=$JHIPSTER_TRAVIS/install
- JHIPSTER_SAMPLES=$JHIPSTER_TRAVIS/samples
- JHIPSTER_SCRIPTS=$JHIPSTER_TRAVIS/scripts
matrix:
- JHIPSTER=app-default-from-scratch JHIPSTER_NODE_CACHE=0
- JHIPSTER=app-gradle RUN_APP=0
- JHIPSTER=app-cassandra
- JHIPSTER=app-microservice
- JHIPSTER=app-gateway
- JHIPSTER=app-hazelcast-cucumber
- JHIPSTER=app-mongodb
- JHIPSTER=app-oauth2
- JHIPSTER=app-jwt
- JHIPSTER=app-mysql PROFILE=prod
- JHIPSTER=app-psql-es-noi18n PROFILE=prod
- JHIPSTER=app-social-websocket PROTRACTOR=1
before_install:
- sudo /etc/init.d/postgresql stop
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- $JHIPSTER_INSTALL/01-install-docker-compose.sh
- $JHIPSTER_INSTALL/02-install-jhipster-stack.sh
# - $JHIPSTER_INSTALL/03-checkVersion.sh
- $JHIPSTER_INSTALL/04-cache.sh
script:
- $JHIPSTER_SCRIPTS/01-generate-project.sh
- $JHIPSTER_SCRIPTS/02-generate-entities.sh
- $JHIPSTER_SCRIPTS/03-docker-compose.sh
- $JHIPSTER_SCRIPTS/04-tests.sh
- $JHIPSTER_SCRIPTS/05-run.sh
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/c77e712c44b0a4914b7c
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false