language: ruby cache: bundler: true directories: - vendor/bundle rvm: - 2.1.1 - 2.0.0 - 1.9.3 - 1.9.2 - 1.8.7 - ree - jruby-19mode #gemfile: # - gemfiles/mongo.gemfile # - gemfiles/moped.gemfile # Attempt Travis/Cassandra fix re: https://github.com/travis-ci/travis-ci/issues/1484 # Updated Cassandra: https://github.com/travis-ci/travis-ci/issues/1650 before_install: - gem update --system 2.1.11 - gem --version - sudo sh -c "echo 'JVM_OPTS=\"\${JVM_OPTS} -Djava.net.preferIPv4Stack=false\"' >> /usr/local/cassandra/conf/cassandra-env.sh" - echo "127.0.0.1 localhost" | sudo tee /etc/hosts - echo "127.0.0.1 " `hostname` | sudo tee /etc/hosts - sudo service cassandra start install: - wget https://www.tracelytics.com/install_tracelytics.sh - sudo sh ./install_tracelytics.sh f51e2a43-0ee5-4851-8a54-825773b3218e - sudo apt-get install -y tracelytics-java-agent before_script: - bundle install --without development - bundle exec rake compile - psql -c 'create database travis_ci_test;' -U postgres - mysql -e 'create database travis_ci_test;' - sleep 10 script: "bundle exec rake test" services: - mongodb - memcached - cassandra - redis matrix: allow_failures: