travis experiment #11

This commit is contained in:
Manuel Barkhau 2018-09-05 20:38:50 +02:00
parent 225998de0f
commit 31ae8c21f4
2 changed files with 4 additions and 4 deletions

View file

@ -1,13 +1,15 @@
#!/bin/bash
set -e
# minimal test requirements for py27 testing
python -m pip install pytest rst2html5
rst2html5 --strict README.rst > /dev/null
rst2html5 --strict CHANGELOG.rst > /dev/null
# first test module from installed wheel
python -m pip install $(ls -1t dist/pycalver*.whl | head -n 1)
grep 'coding: utf-8' $(python -c 'import pycalver;print(pycalver.__file__)')
python -m pip install pytest
python -m pytest test/
if [[ $(python -c "import sys;print(sys.version[:3])") == "3.7" ]]; then