message: fix: CI cassandra service
diff: +dist: trusty
  language: rust
  cache: cargo
  -group: deprecated-2017Q4
  rust:
  - stable
  - beta
  @@ -8,15 +8,18 @@ rust:
  matrix:
  allow_failures:
  - rust: nightly
  +services:
  + - cassandra
  +sudo: required
  -before_install:
  - - sudo update-java-alternatives -s java-8-oracle
  - - export JAVA_HOME=/usr/lib/jvm/java-8-oracle
  - - java -version
  - - sudo rm -rf /var/lib/cassandra/*
  - - if [ ! -d "apache-cassandra-3.11.2" ]; then wget https://archive.apache.org/dist/cassandra/3.11.2/apache-cassandra-3.11.2-bin.tar.gz && tar -xvzf apache-cassandra-3.11.2-bin.tar.gz; fi
  - - sudo sh ./apache-cassandra-3.11.2/bin/cassandra -R
  - - sleep 20
  +#before_install:
  +# - sudo update-java-alternatives -s java-8-oracle
  +# - export JAVA_HOME=/usr/lib/jvm/java-8-oracle
  +# - java -version
  +# - sudo rm -rf /var/lib/cassandra/*
  +# - if [ ! -d "apache-cassandra-3.11.2" ]; then wget https://archive.apache.org/dist/cassandra/3.11.2/apache-cassandra-3.11.2-bin.tar.gz && tar -xvzf apache-cassandra-3.11.2-bin.tar.gz; fi
  +# - sudo sh ./apache-cassandra-3.11.2/bin/cassandra -R
  +# - sleep 20
  install:
  # - (cargo install rustfmt --force || true)
  @@ -48,7 +51,7 @@ addons:
  - binutils-dev
  - zlib1g-dev
  # - libbfd-dev
  - - openjdk-8-jre-headless
  + #- openjdk-8-jre-headless
  after_success:
  wget https://github.com/SimonKagstrom/kcov/archive/master.tar.gz &&#
  