forked from vert-x3/vertx-mqtt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 1.48 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
sudo: required
language: java
branches:
only:
- master
- /^\d+\.\d+$/
before_install:
- docker pull ansi/mosquitto
- docker run -d -p 1884:1883 ansi/mosquitto
jobs:
include:
- stage: test
name: "OpenJDK 8"
jdk: openjdk8
script: mvn -q clean verify -Dmqtt.server.host=localhost -Dmqtt.server.port=1884 -B
- if: type != pull_request
name: "OpenJDK 11"
jdk: openjdk11
script: mvn -q clean verify -Dmqtt.server.host=localhost -Dmqtt.server.port=1884 -B
- 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
services:
- docker
notifications:
email:
recipients:
- secure: "ReBhD9rlPcA8ktCAb3a6VNHiWCRoqdiZQ9FfpCk2dkjt3voYnULuufGl/kGTEnXv3JJ4gc+Dq+zp5MBeEfYFcnZRLHUBIcmxLxviyxL65Rq3bknBrBNjySPohhWGExbLcurWz4RvBEgEK1XMf5dij0qQOIG0KpEfhV95gxj2pzTk+lhmg7wsCGoGNeYS+kingkuigpjVcvacEVFUNX5ymxA4i4Icnqn8FGkjht41i3Y0KFIaoclDadaO/xf6jXC0f2I8nyNVBcphJLeiYzqS85lw3sUOu9//p2bDX8Svx7BrHTKkVr7IxplrzuSD/zbC0HlZ2tC05ZdLx1Iyzqj86UghPUc+umNEhlxqqW3rfaXgp+5/g9dWW8sDFJBi2L1o5xUcL2YvwaAbjf3iVIXIs6B6dIS1QUgZUOJC15xhek9CkmUJgUh4B/73KO1lQGm07j40KOdIUBTsHNl0Lds9kyhdpVR5ihRw2W6Tn8iOuX6Rml7sCvPyWmmfI94HPcjXT4pZCNVPxgWKlKV7SZDph2japHe5nH3j8Ap2B/eGk/sXIZQq0LLyGRVBsyx7asckhjqXyiI+4yg1w6S6aX3dwWYL5Soc8fGQhRBcRfuUK5RSYRg9YZuUtc3FTGmHZlaX1WphbNef1hNJpUEZWdI7CVwbcbPqWw2CgLtlkaRuLQs="
on_success: always
on_failure: always