Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.

Commit 629121a

Browse files
committed
Switching Cassandra dists to hopefully make Travis-CI happy
1 parent 8af231c commit 629121a

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

.travis.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ addons:
88
sonarcloud:
99
organization: trellis-ldp
1010

11-
services:
12-
- cassandra
13-
1411
cache:
1512
directories:
1613
- $HOME/.m2/repository
@@ -19,14 +16,24 @@ matrix:
1916
fast_finish: true
2017

2118
include:
22-
# JDK 8
2319
- jdk: openjdk8
2420

25-
# JDK 11
2621
- jdk: openjdk11
2722

2823
allow_failures:
2924
- jdk: openjdk11
25+
26+
# install Casssandra "manually" to ensure the presence of nodetool
27+
before_install:
28+
- echo "deb http://www.apache.org/dist/cassandra/debian 311x main" | sudo tee -a /etc/apt/sources.list.d/cassandra.sources.list
29+
- curl https://www.apache.org/dist/cassandra/KEYS | sudo apt-key add -
30+
- sudo apt-get update
31+
- sudo apt-get install cassandra
32+
- sudo service cassandra start
33+
34+
addons:
35+
apt:
36+
update: true
3037

3138
install: mvn --quiet -Dcargo.maven.skip -Dcassandra.skip -DskipTests install
3239

0 commit comments

Comments
 (0)