bumpver/.travis.yml

38 lines
671 B
YAML
Raw Normal View History

2018-09-05 08:43:36 +02:00
os: linux
dist: xenial
sudo: true
2018-09-03 09:19:27 +02:00
language: python
2018-09-05 08:43:36 +02:00
cache: pip
2018-09-03 09:19:27 +02:00
python:
2018-09-05 08:43:36 +02:00
- "3.7"
2018-09-03 09:19:27 +02:00
- "3.6"
2018-09-05 08:43:36 +02:00
- "3.5"
- "3.4"
- "2.7"
before_install:
- apt-get install -y git mercurial
- apt-get install -y python3.7
- python3.7 -m pip install lib3to6
- python3.7 setup.py bdist_wheel --python-tag=py2.py3
2018-09-03 09:19:27 +02:00
install:
2018-09-05 08:43:36 +02:00
- pip install $(cat requirements-test.txt)
2018-09-03 09:19:27 +02:00
- pip install .
script:
2018-09-04 19:53:40 +02:00
- python -m flake8 src/pycalver/
2018-09-05 08:43:36 +02:00
- export MYPYPATH=stubs/
2018-09-04 19:53:40 +02:00
- python -m mypy src/pycalver/
2018-09-05 08:43:36 +02:00
- export PYTHONPATH=src/:$PYTHONPATH
2018-09-04 19:53:40 +02:00
- python -m pytest --cov=pycalver test/
2018-09-05 08:43:36 +02:00
- codecov
2018-09-03 09:19:27 +02:00
- rst2html5 --strict README.rst > /dev/null
2018-09-05 08:43:36 +02:00
- rst2html5 --strict CHANGELOG.rst > /dev/null