language: python
python:
- "3.6"
install: pip install -r requirements.txt
before_script:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build
script:
  - nosetests --with-xunit --xunit-file=unit.xml
  - coverage run $(which nosetests)
after_script:
  - coverage xml
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT --coverage-input-type coverage.py
notifications:
  email: false

language: python
python:
- "3.6"
install: python setup.py develop
before_script:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build
script:
  - nosetests --with-xunit --xunit-file=unit.xml
  - coverage run $(which nosetests)
after_script:
  - coverage xml
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT --coverage-input-type coverage.py
notifications:
  email: false

Fix the Travis build to use `setup.py`
Fix the Travis build to use `setup.py`
