-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.travis.yml
43 lines (36 loc) · 931 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
36
37
38
39
40
41
42
43
sudo: required
language: java
jdk:
- oraclejdk8
services:
- rabbitmq
- mongodb
before_install:
- chmod +x ./config/travis-scripts/*
- chmod +x gradlew
- ./config/travis-scripts/prepare-environment.sh
install:
- ./config/travis-scripts/prepare-kafka.sh
- ./config/travis-scripts/prepare-couchbase.sh
- ./config/travis-scripts/prepare-cassandra.sh
notifications:
slack: exceliandev:1eNY8ozgMfUYwzAECmL4LNHi
# cache maven repository to speed up build
cache:
directories:
- ~/.gradle
- ~/binaries
script: |
./gradlew check &&
./config/travis-scripts/run-rest-test.sh &&
./gradlew :mache-example:putClient -Parg=10,Cassandra,localhost &&
./gradlew :mache-example:putClient -Parg=10,Mongo,localhost &&
./gradlew :mache-example:putClient -Parg=10,Couchbase,localhost
addons:
apt:
sources:
- mono
- mono-libtiff-compat
packages:
- mono-devel
- nunit-console