forked from openreferral/ServiceNetGateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 926 Bytes
/
.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
os:
- linux
language: java
jdk:
- openjdk11
sudo: false
cache:
directories:
- node
- node_modules
- $HOME/.m2
env:
global:
- SPRING_OUTPUT_ANSI_ENABLED=ALWAYS
- SPRING_JPA_SHOW_SQL=false
- JHI_DISABLE_WEBPACK_LOGS=true
- NG_CLI_ANALYTICS="false"
before_install:
- java -version
- node -v
- npm -v
install:
- chmod +x mvnw
- ./mvnw dependency:go-offline --no-transfer-progress
- ./mvnw com.github.eirslett:frontend-maven-plugin:install-node-and-npm@'install node and npm'
- ./mvnw com.github.eirslett:frontend-maven-plugin:npm@'npm install'
script:
- ./mvnw clean --no-transfer-progress
- npm test
- ./mvnw test --no-transfer-progress
- npm run coveralls
notifications:
webhooks:
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false