language: python
python:
  - "2.6"
  - "2.7"
node_js:
  - "0.10"
services:
  - riak
  - redis-server
install:
  # We easy_install a binary riak_pb package because pip install needs `protoc'.
  - "easy_install 'riak_pb<1.3.0'"
  # For some reason we need these two as well.
  - "pip install https://github.com/praekelt/vumi/tarball/develop#egg=vumi-dev --use-mirrors"
  - "pip install https://github.com/praekelt/vumi-wikipedia/tarball/develop#egg=vumi-wikipedia-dev --use-mirrors"
  - "pip install -r requirements.pip --use-mirrors"
  - "pip install -r requirements-pytest.pip --use-mirrors"
  - "pip install coveralls --use-mirrors"
  - "npm install"
script:
  - VUMITEST_REDIS_DB=1 ./run-tests.sh
  - grunt test
after_success:
  - coveralls
  - cat mochacov.lcov | ./node_modules/coveralls/bin/coveralls.js
  - cat coverage/*/lcov.info | ./node_modules/coveralls/bin/coveralls.js

language: python
python:
  - "2.6"
  - "2.7"
node_js:
  - "0.10"
services:
  - riak
  - redis-server
install:
  # We easy_install a binary riak_pb package because pip install needs `protoc'.
  - "easy_install 'riak_pb<1.3.0'"
  # For some reason we need these two as well.
  - "pip install https://github.com/praekelt/vumi/tarball/develop#egg=vumi-dev --use-mirrors"
  - "pip install https://github.com/praekelt/vumi-wikipedia/tarball/develop#egg=vumi-wikipedia-dev --use-mirrors"
  - "pip install -r requirements.pip --use-mirrors"
  - "pip install -r requirements-pytest.pip --use-mirrors"
  - "pip install overalls"
  - "npm install"
script:
  - VUMITEST_REDIS_DB=1 ./run-tests.sh
  - grunt test
after_success:
  - overalls --py --lcov mocha.cov --lcov coverage/*/lcov.info

Use overalls to upload coverage.
Use overalls to upload coverage.
