forked from jenkinsci/hashicorp-vault-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (30 loc) · 896 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
language: java
dist: xenial
services:
- docker
before_cache:
- rm -rf $HOME/.m2/repository/com/datapipe/jenkins/plugins/hashicorp-vault*
cache:
directories:
- $HOME/.m2
env:
global:
- JAVA_LEVEL=8
matrix:
include:
- jdk: openjdk11
env:
- MVN_FLAG='-Djenkins.version=2.164.1 -Daccess-modifier-checker.failOnError=true'
- jdk: openjdk8
env:
- MVN_FLAG='-Djenkins.version=2.164.1 -Daccess-modifier-checker.failOnError=true'
- jdk: openjdk8
install:
- mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V $MVN_FLAG -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
script:
- |
mvn clean install -B \
-Djava.level=$JAVA_LEVEL \
$MVN_FLAG -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
notifications:
email: false