forked from mathieucarbou/license-maven-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·44 lines (35 loc) · 984 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
42
43
44
image: maven:latest
osx_image: xcode9.3
sudo: false
# NOTE: `shell` is compatible with Windows os which doesn't support `language: java`
language: shell
os:
- linux
# - osx
- windows
branches:
only:
- master
# Install OpenJDK 8 and Maven on Linux (Ubuntu - Xenial)
addons:
apt:
packages:
- openjdk-8-jdk
# Install OpenJDK 8 (Zulu)
before_install:
- |
if [ "${TRAVIS_OS_NAME}" == windows ]; then
choco install -y zulu8
export PATH=/C/Program\ Files/Zulu/zulu-8/bin:$PATH
echo "PATH=${PATH}"
fi
install: /usr/bin/env true
script: ./mvnw clean install site -DperformRelease=true -Dgpg.skip=true -V -B -s settings.xml -Dmaven.artifact.threads=64 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
cache:
# timeout: 5000
directories:
- $HOME/.m2
- $HOME/AppData/Local/Temp/chocolatey
- $HOME/Library/Caches/Homebrew
after_failure:
- cat **/target/surefire-reports/*.txt