forked from vert-x3/vertx-grpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (32 loc) · 1.37 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
language: java
dist: trusty
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
- if: type != pull_request
name: "OpenJDK 11"
jdk: openjdk11
script: mvn -q clean verify -B
- 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: "4sLceyLVg5fTqAmweX0d8nMx1jF2qspU/HDoJrunzQFTS1qG9WWpMaU1aM0Kd/sEfYJW6H6psswplYywt14mVbDVjg7BWmu79u1rdMp1Ij3aB8n5xdPsvYcuYuT5Q+FjP+zXoZI5pU/1ZLPx+lJe77F8WQUkFqQfshNTqTlsRrS7HL/4vTD7xtEqbpQz8sEcHsjxajRkrMpMaRiy/0oE0dADY6ZKDidw85T8+Ifo0aKr9TIC4X2660ZjcokVyOzC1oJztTB1yer0tYES07VjGdZkJ1l7uKkaPO8p2ol+3QmyjqUSWcAWf81iZbSDEpH6CVtMmNjMdj7OInx5bh+Me+PlrO2+oFhiJBo/VUV6ragOOQZYwcPjpFdvgJUH6JzRVoGnRx9igdHQKusohugc7Qs1+cCVNclh6TeegbmZeP84KJdBjdthnnAQOPQenyiAESbC3t8vEPZMARcFZWXUeK9KWQ5zQWPCf6CRk2ObeScdHuQXnUUZOelySrvl/k/OaHvDaGScKkRwY4h5W7VHhcKZP10pyYzqrAY8FMbFC1KHX423mINS3FcrR211wdtsPw1Dwq3IAEX7VoLcVoVSUrwfqJcm5XJrXsvAvsepcFWF7iRhCeecq6nTJyfGtPgrCTXcQB/xYgrLdXjzoZntkluewiftLeD8dygrfsyJmwc="
on_success: always
on_failure: always