machine:
  python:
    version: 2.7.9

dependencies:
  override:
    - pip install tox

test:
  override:
    - env PATH="$HOME/bin:$PATH" tox
  post:
    - mkdir -p $CIRCLE_ARTIFACTS/coverage
    - mkdir -p $CIRCLE_TEST_REPORTS/xunit
    - cp -r coverage/ $CIRCLE_ARTIFACTS/coverage/
    - cp nosetests.xml $CIRCLE_TEST_REPORTS/xunit/xunit.xml

machine:
  python:
    version: 2.7.9

dependencies:
  override:
    - pip install tox
    - pip install python-coveralls

test:
  override:
    - env PATH="$HOME/bin:$PATH" tox
  post:
    - mkdir -p $CIRCLE_ARTIFACTS/coverage
    - mkdir -p $CIRCLE_TEST_REPORTS/xunit
    - cp -r coverage/ $CIRCLE_ARTIFACTS/coverage/
    - cp nosetests.xml $CIRCLE_TEST_REPORTS/xunit/xunit.xml
    - coveralls

Add post test coveralls job
Add post test coveralls job
