mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-01-08 09:40:00 +01:00
26 lines
628 B
YAML
26 lines
628 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
|
|
# run tests
|
|
script:
|
|
- pytest
|
|
- 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 |