voidfiles/ssshelf

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
env:
  global:
    - CC_TEST_REPORTER_ID=ba1a6bd3e2165bdd045cae1e69f30182022852150df3f3322b1c25a9b04b65c3
    - AWS_ACCESS_KEY_ID=test
    - AWS_SECRET_ACCESS_KEY=test
    - AWS_DEFAULT_REGION=us-east-1
    - AWS_BUCKET=test
language: python
python:
  - 3.6
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
install:
  - pip install -r requirements.txt
  - pip install -r test_requirements.txt
script:
  - pytest --cov=ssshelf tests
  - coverage report --fail-under=90
  - coverage xml
after_script:
  - ./cc-test-reporter after-build -t coverage.py