forked from eclipse-vertx/vert.x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (48 loc) · 1.89 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
41
42
43
44
45
46
47
48
language: java
branches:
only:
- master
- /^\d+\.\d+$/
before_install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
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
install: . ./install-jdk.sh --url "https://api.adoptopenjdk.net/v2/binary/releases/openjdk8?openjdk_impl=hotspot&os=linux&type=jdk&release=latest&heap_size=normal&arch=x64"
- if: type != pull_request
name: "OpenJDK 11"
jdk: openjdk11
script: mvn -q clean verify -B
- if: type != pull_request
name: "OpenJDK 8 / native transport"
jdk: openjdk8
script: mvn -q clean verify -B -PtestNativeTransport
install: . ./install-jdk.sh --url "https://api.adoptopenjdk.net/v2/binary/releases/openjdk8?openjdk_impl=hotspot&os=linux&type=jdk&release=latest&heap_size=normal&arch=x64"
- if: type != pull_request
name: "OpenJDK 8 / domain sockets"
jdk: openjdk8
script: mvn -q clean verify -B -PtestDomainSockets
install: . ./install-jdk.sh --url "https://api.adoptopenjdk.net/v2/binary/releases/openjdk8?openjdk_impl=hotspot&os=linux&type=jdk&release=latest&heap_size=normal&arch=x64"
- stage: test
name: "OpenJDK 8 / ALPN agent"
jdk: openjdk8
script: mvn -q clean verify -B -Dtest=Http*TLSTest
- 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: "V3kSlUMaHLlFhnbGa567mdKv1/d4iPLHJEWi1llFDeLhu+pJsAGOZOFqr6bN9V0PJIdCGzr9/xqauA2kdunnqICM8iLga0/vvjZWB/G1SXrmPsL820szvU3Id/BLBJzbnZWPNbmMCSyFLgkUuAJ6QLMFGH56RqUst65Z2++VzHU="
on_success: always
on_failure: always