forked from rapid7/recog-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.15 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
language: java
jdk:
- openjdk8
- openjdk11
- openjdk-ea
install: true
before_install:
- if [ ! -z "$GPG_SECRET_KEYS" ]; then echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import; fi
- if [ ! -z "$GPG_OWNERTRUST" ]; then echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust; fi
script:
- mvn integration-test -Dgpg.skip -Dmaven.javadoc.skip=true -B -V -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
jobs:
allow_failures:
- jdk: openjdk11
- jdk: openjdk-ea
fast_finish: true
include:
- stage: deploy
if: branch =~ /^(?:master|\d+\.\d+(\.\d+)?(-\S*)?)$/ AND type != pull_request AND fork = false
script: skip
jdk: openjdk8
deploy:
-
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: rapid7/recog-java
branch: master
-
provider: script
script: .travis/deploy.sh
skip_cleanup: true
on:
repo: rapid7/recog-java
tags: true
cache:
directories:
- $HOME/.m2
- target/recog