forked from scredis/scredis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (39 loc) · 1.84 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
language: scala
dist: bionic
os: linux
jdk: openjdk8
git:
depth: false
quiet: true
# travis uses version 6.0.5
# grokzen/redis-cluster at this moment support latest=6.0.1
services:
- redis
before_script:
- redis-server --version
- mkdir -p /tmp/redis-6380
- redis-server ./src/test/resources/redis-6380.conf &
- docker run --rm --name redis -d -p 7000:7000 -p 7001:7001 -p 7002:7002 -p 7003:7003 -p 7004:7004 -p 7005:7005 grokzen/redis-cluster:6.0.1
script:
- sbt +compile
- sbt -DF=3.0 test
after_script:
- docker stop redis
after_success:
# - '[[ $TRAVIS_BRANCH == "master" ]] || [[ $TRAVIS_BRANCH =~ ^v[0-9.]+$ ]] && sbt "+ publish"'
- '[[ $TRAVIS_BRANCH == "master" ]] || [[ $TRAVIS_BRANCH =~ ^v[0-9.]+$ ]] && (sbt "+ publish" && ./sync-with-central.sh)'
cache:
directories:
- $HOME/.m2
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
env:
global:
- BINTRAY_USER=jastice
- secure: "tDBehG2brlWcTuVKbcCJD5t4O2grwyXYiIO3xOlCMb2ehDAO+AQY5dbfY74OC9z4En4aArb6oibBphuboJ9Is6dN9v/6JHce2cH5+FMiSqZxGq+Y4ToKJnE2G8TGMsDtEd3Kp0AnHHI76t71Pb4mhB9LPl5XaevEBrG6sTtdxMX1WFXGbrcGS5q1CmGqZdfeBtXdpsATGx3D4axcGz8zSwztH12BBp5dpxYKarqK9eUCwnl1yghZTQyGWZwRuW160TygvIe0ID1YXovXOcvlcOHMd12wPRzW3VrDreV8ewWMH8ly9Cq6gAxUuT811tnCKszz/Lgdn47GY0ntATCzZe818kkIUei7/iMJnHlaKiBqjxvtAU/LiOW5Hs/YR4HS2DxE9rRhX8fqT/xeA9yRB2F5EBrghY9sKX5E0B345CyaKRN+An6LK7ulUeGxDIzWdOcPDbEdcceHJTJVObVY3rsZO91K/GDWjF/3YXYxfUnG3nWh6tiaChTf7rFL4CL3m0tclZ9bosLB7sjLR/qsQhWzjwaDd4gftVNhhWUH6aDdP8U0E+jNMndOJSnhYiLlXq2GeU1oID6e88etdrIOPgJwOMJssSvONM9AgF5emrZrUImvV19MxkDB3e2y8sgB026m5SRRwRqYyBW23kGyCuNQaHqVBVGSlt+TQVR/DbQ="
notifications:
webhooks:
urls: []
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always