forked from rabbitmq/rabbitmq-perf-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (33 loc) · 898 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
26
27
28
29
30
31
32
33
34
35
dist: trusty
sudo: required
language: java
jdk:
- oraclejdk8
- oraclejdk9
notifications:
email:
- acogoluegnes@pivotal.io
addons:
apt:
sources:
- sourceline: deb https://packages.erlang-solutions.com/ubuntu trusty contrib
key_url: https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc
- sourceline: deb https://dl.bintray.com/rabbitmq/debian trusty main
key_url: https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc
packages:
- esl-erlang=1:20.1
# because of https://github.com/travis-ci/travis-ci/issues/8906
before_install:
- sudo mv /opt/jdk_switcher/jdk_switcher.sh /tmp
- sudo apt-get install rabbitmq-server=3.7.0-1
- sudo mv /tmp/jdk_switcher.sh /opt/jdk_switcher/
services:
- rabbitmq
branches:
only:
- master
script: ./mvnw clean verify
cache:
directories:
- $HOME/.m2
install: true