File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ python:
1212# - cassandra
1313
1414before_install :
15- - sudo apt-get remove -y cassandra
1615 - sudo echo "deb http://www.apache.org/dist/cassandra/debian ${C_VERSION}x main" | sudo tee -a /etc/apt/sources.list
1716 - sudo echo "deb-src http://www.apache.org/dist/cassandra/debian ${C_VERSION}x main" | sudo tee -a /etc/apt/sources.list
1817 - sudo gpg --keyserver pgp.mit.edu --recv-keys F758CE318D77295D
@@ -21,7 +20,7 @@ before_install:
2120 - sudo gpg --export --armor 2B5C1B00 | sudo apt-key add -
2221 - sudo apt-get update
2322# - sudo rm /etc/security/limits.d/cassandra.conf # travis apparently already has this file
24- - sudo apt-get install -y cassandra
23+ - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y cassandra
2524 - sudo sh -c "echo 'JVM_OPTS=\"\${JVM_OPTS} -Djava.net.preferIPv4Stack=false\"' >> /usr/local/cassandra/conf/cassandra-env.sh"
2625 - sudo service cassandra start
2726
You can’t perform that action at this time.
0 commit comments