forked from redis/lettuce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (31 loc) · 1.09 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
dist: xenial
language: java
env:
matrix:
- REDIS=unstable
- PROFILE=jmh
- REDIS=5.0
- REDIS=4.0.11
- REDIS=3.2.11
sudo: false
before_install:
- if [[ ! -f downloads/stunnel-5.54.tar.gz ]]; then wget -O downloads/stunnel-5.54.tar.gz ftp://ftp.stunnel.org/stunnel/archive/5.x/stunnel-5.54.tar.gz; fi
- if [[ ! -f ./stunnel-5.54/configure ]]; then tar -xzf downloads/stunnel-5.54.tar.gz; fi
- if [[ ! -f ./stunnel-5.54/src/stunnel ]]; then cd ./stunnel-5.54; ./configure; make; cd ..; fi
- export PATH="$PATH:$(pwd)/stunnel-5.54/src"
install: 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'
- '$TRAVIS_BUILD_DIR/downloads'
- '$TRAVIS_BUILD_DIR/stunnel-5.54'
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
on_start: false # default: false