droid.io is an other travis clone.

I gave it a try to execute some automated tests on top of cassandra. Unfortunately it doesn’t support cassandra out of the box. But adding support for it is in fact quite easy.

Here is a script to load cassandra and wait for its startup:

export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre
curl -LO http://archive.apache.org/dist/cassandra/2.0.5/apache-cassandra-2.0.5-bin.tar.gz
tar xf apache-cassandra-2.0.5-bin.tar.gz
ln -s apache-cassandra-2.0.5 cassandra
cd cassandra
sudo mkdir -p /var/lib/cassandra /var/log/cassandra
sudo chown `whoami` /var/lib/cassandra /var/log/cassandra
for i in {..30}
  echo "Waiting server ($i)..."
  nc localhost 9042 </dev/null && exit
  sleep 1
exit 1