johejo/inputimeout

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
dist: xenial
language: python

python:
  - "3.6"
  - "3.7"
  - "3.8-dev"

cache: pip

install:
  - "pip install flake8 pytest pytest-cov"

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:
  - "flake8 tests inputimeout"
  - "py.test -s --cov=inputimeout tests/"

after_script:
  - "coverage xml"
  - "./cc-test-reporter after-build"