Files
webssh/.travis.yml
T
2019-01-15 23:27:48 +08:00

26 lines
441 B
YAML

dist: trusty
sudo: false
language: python
matrix:
include:
- python: 2.7
- python: 3.4
- python: 3.5
- python: 3.6
- python: 3.7
dist: xenial
sudo: true
install:
- pip install -r requirements.txt
- pip install pytest==3.8.0 pytest-cov==2.6.0 codecov flake8
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install mock; fi
script:
- pytest --cov=webssh
- flake8
after_success:
- codecov