forked from thelastpickle/cassandra-reaper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
138 lines (138 loc) · 5.94 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
sudo: required
language: java
jdk:
- oraclejdk8
branches:
except:
- "/^untagged-.*$/"
- "/^master-snapshot.*$/"
env:
global:
- LOCAL_JMX=no
- TEST=""
- secure: YEMudC4in6wjIS1km11AkSL1XbKwoWyqzx7vB3i9rdfNNEnJfTx9AdFEZM5h15rzH7raCJ/3/Y9LKXMyXB0wntyk+r6OEt79YaXOYUrlZT8/knGmEBddafEm7ZoUrpKpejVq5tzyMGpNvty4+6kD6IOIVGyltlL3K5DCd3MThoLtnk+il4BcxfJQu2FKFWXIbmuvEMUk27PQ9iDeAAiXEjlhD8YWgJN3cC+N9/w2h4hLNTWOY2WyNkgFomgOnvM5+6O+mIapplgyU5zR3MbcftRSJTWxMUAQrW8l5OWO+3q9mzC6Bqt+KC+aRElLGPp91sH23w2KJvp1Fdxo+kJRbmDlK4N05jJzhJoRlWJf59G5FZ8BtzdbpQS6TKwrZB+G9zfQURiYzLq9ySGyDfA/YOuYGEzNCGUCCILrnLZ44R9KENHGQi203NgXDwlBRP5qQHX51yHsB3WPViFhXu8TxVW7Wje/PmYPt9uTHMYtJ0yTo4rkX4YJ3mq6vPdrXLOeG+1Gp9TSlndDC+ecfx17PaT2iyLSz/UGhYo6EkRHGiYBlOheoI9B5JSd62kQM/86OIfvyOP9GnFHCCjGO+jU+iYje049Wv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kJMW2KDgv80aREoIadOuAZjR5k4xA0REDo1HGC/uyy264HQEpDc2THiEdmtszJpzt4hCR4O7n4o8ZeJjNev/izJJc+cSMyDdnFqiRYvs38HVVFRUXNPXNED0Uh1AyItLcWEupCtvAf1XJFBQhqqsHZJ/j1ldYCzgQh4o7wN5Ykjceaqjm1fsQ/P1h6H4HOq71lORuItsEo7ZU4h8sv+vUidfsX/6uOHGfH0Tba0+yzNsN5nXXyV9vL8BICQiSvXaU81my8tE2mG/u5ajo+e1pnrXdZMHPGI8q4EEEQd8dPjO8oW2DmoA/NNO+qtoOTM6KnZ4LTsVHnhKZ0E4V8BxMHNrp9yV+glcA4rs1ou4h9k58jKtknACIJiir2/G3+rDEWlAqY=
matrix:
- TEST_TYPE=ccm CASSANDRA_VERSION=2.1.19
- TEST_TYPE=ccm CASSANDRA_VERSION=2.1.19 GRIM_MIN=2 GRIM_MAX=2
- TEST_TYPE=ccm CASSANDRA_VERSION=2.1.19 GRIM_MIN=2 GRIM_MAX=4
- TEST_TYPE=ccm CASSANDRA_VERSION=2.2.11 GRIM_MIN=1 GRIM_MAX=1
- TEST_TYPE=ccm CASSANDRA_VERSION=2.2.11 GRIM_MIN=2 GRIM_MAX=2
- TEST_TYPE=ccm CASSANDRA_VERSION=2.2.11 GRIM_MIN=2 GRIM_MAX=4
- TEST_TYPE=ccm CASSANDRA_VERSION=3.0.15 GRIM_MIN=1 GRIM_MAX=1
- TEST_TYPE=ccm CASSANDRA_VERSION=3.0.15 GRIM_MIN=2 GRIM_MAX=2
- TEST_TYPE=ccm CASSANDRA_VERSION=3.0.15 GRIM_MIN=2 GRIM_MAX=4
- TEST_TYPE=ccm CASSANDRA_VERSION=3.11.1 GRIM_MIN=1 GRIM_MAX=1
- TEST_TYPE=ccm CASSANDRA_VERSION=3.11.1 GRIM_MIN=2 GRIM_MAX=2
- TEST_TYPE=ccm CASSANDRA_VERSION=3.11.1 GRIM_MIN=2 GRIM_MAX=4
- TEST_TYPE=docker
matrix:
fast_finish: true
allow_failures:
- env: TEST_TYPE=ccm CASSANDRA_VERSION=2.2.10 GRIM_MIN=2 GRIM_MAX=2
- env: TEST_TYPE=ccm CASSANDRA_VERSION=2.2.10 GRIM_MIN=2 GRIM_MAX=4
- env: TEST_TYPE=ccm CASSANDRA_VERSION=3.0.15 GRIM_MIN=2 GRIM_MAX=2
- env: TEST_TYPE=ccm CASSANDRA_VERSION=3.0.15 GRIM_MIN=2 GRIM_MAX=4
- env: TEST_TYPE=ccm CASSANDRA_VERSION=3.11.1 GRIM_MIN=2 GRIM_MAX=4
- env: TEST_TYPE=docker
services:
- postgresql
- docker
before_install: "./src/ci/before_install.sh"
install: "./src/ci/install.sh"
before_script: "./src/ci/before_script.sh"
script: "./src/ci/script.sh"
after_success: "./src/ci/after_success.sh"
after_failure: "./src/ci/after_failure.sh"
before_deploy: "./src/ci/before_deploy.sh"
deploy:
- provider: releases
api_key: "$GITHUB_TOKEN"
file_glob: true
file:
- src/packages/cassandra-reaper-${TRAVIS_TAG}-release.tar.gz
- src/packages/reaper-*-1.x86_64.rpm
- src/packages/reaper_*_amd64.deb
skip_cleanup: true
on:
tags: true
- provider: bintray
file: src/ci/descriptor-rpm-beta.json
user: adejanovski
key: "$BINTRAY_API_KEY"
dry-run: false
skip_cleanup: true
on:
branch: master
condition: $CASSANDRA_VERSION = "2.1.19" && "x${GRIM_MIN}" = "x"
- provider: bintray
file: src/ci/descriptor-deb-beta.json
user: adejanovski
key: "$BINTRAY_API_KEY"
dry-run: false
skip_cleanup: true
on:
branch: master
condition: $CASSANDRA_VERSION = "2.1.19" && "x${GRIM_MIN}" = "x"
- provider: bintray
file: src/ci/descriptor-tarball-beta.json
user: adejanovski
key: "$BINTRAY_API_KEY"
dry-run: false
skip_cleanup: true
on:
branch: master
condition: $CASSANDRA_VERSION = "2.1.19" && "x${GRIM_MIN}" = "x"
- provider: bintray
file: src/ci/descriptor-maven-snapshot.json
user: adejanovski
key: "$BINTRAY_API_KEY"
dry-run: false
skip_cleanup: true
on:
branch: master
condition: $CASSANDRA_VERSION = "2.1.19" && "x${GRIM_MIN}" = "x"
- provider: bintray
file: src/ci/descriptor-rpm.json
user: adejanovski
key: "$BINTRAY_API_KEY"
dry-run: false
skip_cleanup: true
on:
tags: true
condition: $CASSANDRA_VERSION = "2.1.19" && "x${GRIM_MIN}" = "x"
- provider: bintray
file: src/ci/descriptor-deb.json
user: adejanovski
key: "$BINTRAY_API_KEY"
dry-run: false
skip_cleanup: true
on:
tags: true
condition: $CASSANDRA_VERSION = "2.1.19" && "x${GRIM_MIN}" = "x"
- provider: bintray
file: src/ci/descriptor-tarball.json
user: adejanovski
key: "$BINTRAY_API_KEY"
dry-run: false
skip_cleanup: true
on:
tags: true
condition: $CASSANDRA_VERSION = "2.1.19" && "x${GRIM_MIN}" = "x"
- provider: bintray
file: src/ci/descriptor-maven.json
user: adejanovski
key: "$BINTRAY_API_KEY"
dry-run: false
skip_cleanup: true
on:
tags: true
condition: $CASSANDRA_VERSION = "2.1.19" && "x${GRIM_MIN}" = "x"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/00ad453df6ac8ac0d0ba
on_success: change
on_failure: always
on_start: never