language: python
python:
  - '3.5'
install:
  - pip install -e .
  - pip install -r requirements.txt
services:
  - redis-server
script:
  - cp engine.conf.inc engine.conf
  - py.test --cov=scoring_engine tests
  - codeclimate-test-reporter
  - pycodestyle --show-source --ignore=E501,E402  ./

language: python
python:
  - '3.5'
install:
  - pip install -e .
  - pip install -r requirements.txt
services:
  - redis-server
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:
  - cp engine.conf.inc engine.conf
  - py.test --cov=scoring_engine tests
  - codeclimate-test-reporter
  - pycodestyle --show-source --ignore=E501,E402  ./
after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
Fix code coverage status to codeclimate
Fix code coverage status to codeclimate
