forked from vert-x3/vertx-mail-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (25 loc) · 818 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
language: java
branches:
only:
- master
- /^\d+\.\d+$/
jobs:
include:
- stage: test
name: "OracleJDK 8"
jdk: oraclejdk8
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"
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