pyhamtools/.travis.yml
Tobias Wellnitz, DH1TW 8fb42e5b65 updates cov test command
2018-01-28 13:05:27 +01:00

28 lines
722 B
YAML

language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
- "3.6"
- "3.6-dev" # 3.6 development branch
- "3.7-dev" # 3.7 development branch
- "nightly"
- "pypy" # python 2
services:
- redis-server
# install dependencies
install:
- pip install -e .
- pip install -r requirements-docs.txt
- pip install -r requirements-pytest.txt
- pip install codecov
# run tests
script:
- pytest --cov=./
- cd docs
# build the docs on 2.7 and 3.6 (sphinx requires 2.7 or >=3.4)
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then make html; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then make html; fi
- if [[ $TRAVIS_PYTHON_VERSION == 3.6 ]]; then codecov; fi