language: clojure
lein: lein2
sudo: required
before_install:
  - "ulimit -u 4096"
script: ./bin/ci.sh
env:
  - CASSANDRA_VERSION=2.0.13
  - CASSANDRA_VERSION=2.1.9
  - CASSANDRA_VERSION=3.0.1
jdk:
  - oraclejdk7
  - oraclejdk8
branches:
  only:
    - master
    - 2.0.x-stable

language: clojure
lein: lein2
sudo: required
before_install:
  - "ulimit -u 4096"
script: ./bin/ci.sh
env:
  - CASSANDRA_VERSION=2.0.13
  - CASSANDRA_VERSION=2.1.9
  - CASSANDRA_VERSION=2.2.4
  - CASSANDRA_VERSION=3.0.1
jdk:
  - oraclejdk7
  - oraclejdk8
branches:
  only:
    - master
    - 2.0.x-stable
matrix:
  exclude:
    - jdk: oraclejdk7
        env: CASSANDRA_VERSION=3.0.1
        env: CASSANDRA_VERSION=2.2.4

Tweak matrix to not run new cassandra with old jvms + cassandra 2.2
Tweak matrix to not run new cassandra with old jvms + cassandra 2.2
