diff --git a/.travis.yml b/.travis.yml index 73ebf630b985dee770dd3bbd8513a11156878307..408a6ed4bc68a6df8abe634c5ba99c0d7b3fe4b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,12 +9,12 @@ python: cache: pip sudo: required script: - - nosetests --with-coverage + - if [[ $TRAVIS_PYTHON_VERSION != '3.2' ]]; then nosetests --with-coverage; else nosetests; fi install: - - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install 'coverage<4.0.0'; else pip install coverage; fi + - pip install coverage - pip install codeclimate-test-reporter - pip install -r requirements.txt after_success: - - CODECLIMATE_REPO_TOKEN=e8e05973a6c49139de5f98013cd285f9238b78d20f053f37f6e7deeab2c2c52f codeclimate-test-reporter + - if [[ $TRAVIS_PYTHON_VERSION != '3.2' ]]; then CODECLIMATE_REPO_TOKEN=e8e05973a6c49139de5f98013cd285f9238b78d20f053f37f6e7deeab2c2c52f codeclimate-test-reporter; fi services: - rabbitmq