AngellusMortis/game_server_manager

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
# Config file for automatic testing at travis-ci.org
# This file will be regenerated if you run travis_pypi_setup.py

language: python
python:
  - 'pypy'
  - '3.6'
  - '3.7'
  - '3.8'
  - 'pypy3'
env:
  global:
    - CC_TEST_REPORTER_ID=b231debd65021d4571b7297c465e4b136f0128b0ba2e6cd95cdd23887ba32701
matrix:
  fast_finish: true

# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
  - pip install -U tox-travis
  - pip install -U coveralls

# command to run tests, e.g. python setup.py test
script: tox

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

after_success:
  - coveralls

after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT