forked from redis/lettuce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (61 loc) · 2.1 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
62
63
64
65
66
67
68
69
dist: xenial
os: linux
language: java
jobs:
include:
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- REDIS=unstable
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- PROFILE=jmh
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- REDIS=6.0
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- REDIS=5.0
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- REDIS=4.0
- jdk: openjdk8
env:
- JDK='OpenJDK 8'
- REDIS=3.2
- env: JDK='OpenJDK 12'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 12
- env: JDK='OpenJDK 13'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 13
- env: JDK='OpenJDK 14'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 14
- env: JDK='OpenJDK 15'
before_install: wget https://github.com/sormuras/bach/raw/master/install-jdk.sh && . ./install-jdk.sh -f 15
- 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