fix check for installed files

This commit is contained in:
Manuel Barkhau 2018-09-05 21:05:38 +02:00
parent 6955728080
commit 7f078a9dac

View file

@ -10,7 +10,7 @@ rst2html5 --strict CHANGELOG.rst > /dev/null
# first test module from installed wheel # first test module from installed wheel
python -m pip install $(ls -1t dist/pycalver*.whl | head -n 1) python -m pip install $(ls -1t dist/pycalver*.whl | head -n 1)
grep 'coding: utf-8' $(python -c 'import pycalver;print(pycalver.__file__)') grep 'coding: utf-8' $(python -c 'import pycalver;print(pycalver.__file__.replace(".pyc", ".py"))')
python -m pytest test/ python -m pytest 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