-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
39 lines (39 loc) · 1.75 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
dist: bionic
services:
- docker
language: node_js
node_js:
- '12.16.3'
git:
depth: false
cache:
directories:
- node
- node_modules
- $HOME/.m2
- $HOME/.yarn-cache
env:
global:
- NODE_VERSION=12.16.3
- SPRING_OUTPUT_ANSI_ENABLED=ALWAYS
- SPRING_JPA_SHOW_SQL=false
- JHI_DISABLE_WEBPACK_LOGS=true
- NG_CLI_ANALYTICS="false"
- secure: cdwaykqcjp2wPY+FgalOP10F1FEk9WTbXwgWWkpOHXTn7TVgK220WOxqjDQq0qaL6afFH61lojtbqI+VaLF/dN884WQuIzPDjF4Bn8B+j4VfMUrC7XQPe+p1pal++ysdPBAsXeUMdvKIMySbWcYrypEDt9TqtLYJaw2ZAAihTzpOUYsemQ4a/+M3tuOd8qyVc3KUsbYCWcqKMxeJob0Rk1OV1Qglnaj/1uvnkQVVPJ6YscYlPQlHBg6v0JILDGWyCrKeNjCbZofyzE61vY0Z8+47X3gXgF/tPXRyPscis2Ap8voeIlUKju/MxCP8r6D9uYWGbLViSwL278ms3NblhZCUSN29czL2Bb/9zgLkeWmlx/FRXjtRNW4SEeSUXXz0Y4euYbWLXCBiuGCFIA7/L1+rdGWBAluDBHbAPTyWvhlCWAlsi8XbADo8bd2Lzzoi7GUcAZ1jnmINHpdmLSLol6Nba3ECLsS7CIWocokF7bHqowej1p/S+DwL/ENgVaN2MZ9YzhcEOA6rqtkyVyR1Im8gNpsPUc/OEcqMOTXRL4ZhI5c7bbPr0IvphFFuolucyvPoR2rfaipB45ucbax3HxgPGPtHrPcuR8wlMmzhcp9iYBsiIbQcgowaDNFQYudsU4larCs6KRzKY+carbYHrIYKrp6jRAM3WGWhuvyC2yM=
before_install:
- java -version
- sudo /etc/init.d/mysql stop
- sudo /etc/init.d/postgresql stop
# Repo for Yarn
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH=$HOME/.yarn/bin:$PATH
install:
- yarn install
script:
- chmod +x mvnw
- ./mvnw clean verify
- ./mvnw com.github.eirslett:frontend-maven-plugin:yarn -Dfrontend.yarn.arguments='run test' -Dmaven.repo.local=$MAVEN_USER_HOME
- if [ $TRAVIS_PULL_REQUEST == "false" ]; then ./mvnw -ntp org.jacoco:jacoco-maven-plugin:prepare-agent initialize sonar:sonar -Dsonar.organization=openarchitex -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN; fi
- ./mvnw verify -Pprod -DskipTests
after_success:
- bash ./deploy.sh;