Nekmo/dirhunt

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: python
sudo: false
python:
- 3.6
- 3.5
- 3.4
- 2.7
before_install:
- pip install codecov tox>=1.8
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then export PYVER=py36; fi
script: COMMAND='coverage run' tox -e$PYVER
after_success:
- codecov