language: node_js
node_js:
    - "0.10"
    - "0.12"
    - "iojs"

before_install:
  - sudo sh -c "echo 'JVM_OPTS=\"\${JVM_OPTS} -Djava.net.preferIPv4Stack=false\"' >> /usr/local/cassandra/conf/cassandra-env.sh"
  - sudo service cassandra start

before_script:
  - sleep 5

notifications:
  email:
    - services@wikimedia.org

script: npm run-script coverage && (npm run-script coveralls || exit 0)

language: node_js
node_js:
    - "0.10"
    - "0.12"
    - "iojs"

services:
  - cassandra

notifications:
  email:
    - services@wikimedia.org

script: npm run-script coverage && (npm run-script coveralls || exit 0)

Use Travis' new services stanza
Use Travis' new services stanza

Travis now supports starting up services with the 'services' stanza. This lets
us avoid using sudo & thus use the container infrastructure. As a result, our
tests should run faster. It also simplifies our .travis.yml slightly.
