forked from eclipse-vertx/vert.x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (44 loc) · 1.34 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
language: java
arch: ppc64le
branches:
only:
- master
- /^\d+\.\d+$/
cache:
directories:
- $HOME/.m2
addon:
apt: maven
before_install:
- sudo apt install -y maven libnetty-java/xenial libnetty-tcnative-java/xenial libhawtjni-runtime-java/xenial libnetty-3.9-java/xenial
before_cache:
- rm -rf $HOME/.m2/repository/io/vertx/
jobs:
include:
- stage: test
name: "OpenJDK 8"
jdk: openjdk8
script: mvn -q clean verify -B
- 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
- if: type != pull_request
name: "OpenJDK 8 / domain sockets"
jdk: openjdk8
script: mvn -q clean verify -B -PtestDomainSockets
- 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