forked from pinpoint-apm/pinpoint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (38 loc) · 1.17 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
language: java
cache:
directories:
- $HOME/.m2
- web/src/main/angular/node_modules
- node_install
addons:
apt:
packages:
- openjdk-6-jdk
jdk:
- oraclejdk8
env:
global:
- secure: NZHVmbkzMZGm9M71n5sitb47tyHJE/byA8l6u2zqdhfeEZsrdhZKpgTRYdQYa4btsBHoO/hImziRMz2SuaQgGyK3EiizzZfFqzzqfMvq1WXKeNNI46QtN9RKA60o+/TIptmJADIXfAq5KEjOBOVIyN93Wsf0+4LP13Ve+UDFG38=
- JAVA_6_HOME=/usr/lib/jvm/java-6-openjdk-amd64
JAVA_7_HOME=/usr/lib/jvm/java-7-openjdk-amd64
JAVA_8_HOME=/usr/lib/jvm/java-8-oracle
JAVA_9_HOME=/usr/lib/jvm/java-9-oracle
install:
- set -o pipefail
- ls -al $JAVA_6_HOME
- ls -al $JAVA_7_HOME
- ls -al $JAVA_8_HOME
- ls -al $JAVA_9_HOME
- $JAVA_6_HOME/bin/java -version
- $JAVA_7_HOME/bin/java -version
- $JAVA_8_HOME/bin/java -version
- $JAVA_9_HOME/bin/java -version
- ./mvnw install -DskipTests=true -Plocal -Dmaven.javadoc.skip=true -B -V | grep -Fv '[copy'
script:
- jdk_switcher use oraclejdk8
- ./mvnw clover:setup test -Plocal,test clover:aggregate clover:clover -e | grep -Fv 'DEBUG' | grep -Fv '[copy'
after_success:
- bash <(curl -s https://codecov.io/bash)
- bash ./doc/scripts/deployGitPage.sh
dist:
- trusty