forked from redis/lettuce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (53 loc) · 1.56 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
dist: xenial
os: linux
language: java
jobs:
include:
- jdk: openjdk15
env:
- JDK='OpenJDK 15'
- REDIS=unstable
- jdk: openjdk15
env:
- JDK='OpenJDK 15'
- PROFILE=jmh
- jdk: openjdk15
env:
- JDK='OpenJDK 15'
- REDIS=6.0
- jdk: openjdk15
env:
- JDK='OpenJDK 15'
- REDIS=5.0
- jdk: openjdk15
env:
- JDK='OpenJDK 15'
- REDIS=4.0
- jdk: openjdk15
env:
- JDK='OpenJDK 15'
- REDIS=3.2
- env: JDK='OpenJDK EA'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh
allow_failures:
- env: JDK='OpenJDK EA'
install:
- if [[ ! -f downloads/stunnel-5.56.tar.gz ]]; then wget -O downloads/stunnel-5.56.tar.gz ftp://ftp.stunnel.org/stunnel/archive/5.x/stunnel-5.56.tar.gz; fi
- if [[ ! -f ./stunnel-5.56/configure ]]; then tar -xzf downloads/stunnel-5.56.tar.gz; fi
- if [[ ! -f ./stunnel-5.56/src/stunnel ]]; then cd ./stunnel-5.56; ./configure; make; cd ..; fi
- export PATH="$PATH:$(pwd)/stunnel-5.56/src"
- make prepare ssl-keys
script: make test-coverage PROFILE=${PROFILE:-ci}
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- '$HOME/.m2/repository'
- 'downloads'
- 'stunnel-5.56'
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/7c2a962829d225c47a31
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always