forked from pinpoint-apm/pinpoint
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (33 loc) · 974 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
37
38
39
40
41
sudo : required
language: java
addons:
apt:
packages:
- openjdk-6-jdk
jdk:
- openjdk7
env:
- 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
before_install:
- sudo sed -i 's/security.provider.9/#security.provider.9/g' $JAVA_HOME/jre/lib/security/java.security
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 -Dmaven.javadoc.skip=true -B -V | grep -Fv '[copy'
script:
- jdk_switcher use openjdk7
- ./mvnw clover:setup test -Ptest clover:aggregate clover:clover -e | grep -Fv 'DEBUG' | grep -Fv '[copy'
after_success:
- bash <(curl -s https://codecov.io/bash)
dist:
- trusty