forked from vert-x3/vertx-mail-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 928 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
language: java
branches:
only:
- master
- /^\d+\.\d+$/
cache:
directories:
- $HOME/.m2
before_cache:
- rm -rf $HOME/.m2/repository/io/vertx/
jobs:
include:
- stage: test
name: "OpenJDK 8"
jdk: openjdk8
script: mvn -q clean verify -B -Dtest.disableIpV6=true
- if: type != pull_request
name: "OpenJDK 11"
jdk: openjdk11
script: mvn -q clean verify -B -Dtest.disableIpV6=true
- stage: deploy
name: "Deploy to Sonatype's snapshots repository"
jdk: openjdk8
if: type != pull_request AND env(SONATYPE_NEXUS_USERNAME) IS present
script: bash .travis.deploy.artifacts.sh
notifications:
email:
recipients:
- secure: "o8lDWSAlEPFz+bwjWcI38HAPSfhaxtKPE0tr3opX6Qaf+DYfKx/9S7lSbNn+2MGVXOnLyHFw42CSnq8Yem8U5qhL22a70jC06/NXB3WoXSPtuZbAEpaneSBnt5Cfb1cz2itC7KBgm2ocnBm5ooN3aOGTXbqyIL+E/SzD4+PAaeY="
on_success: always
on_failure: always