vpoulailleau/pydxl

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
# Config file for automatic testing at travis-ci.org
env:
  global:
    - CC_TEST_REPORTER_ID=63d51cb282ef8db2bd9bf4a73fd6e6c861a1e88da83eefcf3229f765d739fc97

language: python
python:
  - 3.6
  - 3.7
  - 3.7-dev
  - 3.8-dev
  - nightly
dist: xenial

install: 
  - pip install -U tox-travis
  - pip install coverage

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: 
  - tox
after_script:
  - coverage xml
  - if [[ "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi