travis experiment #8

This commit is contained in:
Manuel Barkhau 2018-09-05 20:22:28 +02:00
parent 66e25247d8
commit 9a1c2e1f0b
3 changed files with 5 additions and 5 deletions

View file

@ -35,7 +35,7 @@ which is compatible with python packaging software
:alt: MIT License :alt: MIT License
.. |pypi| image:: https://img.shields.io/pypi/v/pycalver.svg .. |pypi| image:: https://img.shields.io/pypi/v/pycalver.svg
:target: https://pypi.python.org/pypi/pycalver :target: https://github.com/mbarkhau/pycalver/blob/master/CHANGELOG.rst
:alt: PyPI Version :alt: PyPI Version
.. |version| image:: https://img.shields.io/badge/CalVer-v201809.0002--beta-blue.svg .. |version| image:: https://img.shields.io/badge/CalVer-v201809.0002--beta-blue.svg

View file

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
set -e set -e
set -v
if [[ $(which python3.7) ]]; then if [[ $(which python3.7) ]]; then
python3.7 --version python3.7 --version

View file

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
set -e set -e
set -v
rst2html5 --strict README.rst > /dev/null rst2html5 --strict README.rst > /dev/null
rst2html5 --strict CHANGELOG.rst > /dev/null rst2html5 --strict CHANGELOG.rst > /dev/null
@ -12,12 +13,10 @@ python -m pytest --cov=pycalver test/
if [[ $(python -c "import sys;print(sys.version[:3])") == "3.7" ]]; then if [[ $(python -c "import sys;print(sys.version[:3])") == "3.7" ]]; then
python -m flake8 src/pycalver/ python -m flake8 src/pycalver/
MYPYPATH=stubs/ MYPYPATH=stubs/ python -m mypy src/pycalver/;
python -m mypy src/pycalver/
# next test module from src/ # next test module from src/
PYTHONPATH=src/:$PYTHONPATH PYTHONPATH=src/:$PYTHONPATH python -m pytest --cov=pycalver test/;
python -m pytest --cov=pycalver test/
fi fi
codecov codecov