mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
travis experiment #11
This commit is contained in:
parent
225998de0f
commit
31ae8c21f4
2 changed files with 4 additions and 4 deletions
|
|
@ -1,8 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "python3.7 path: $(which python3.7)"
|
|
||||||
|
|
||||||
if [[ $(which python3.7) ]]; then
|
if [[ $(which python3.7) ]]; then
|
||||||
python3.7 --version
|
python3.7 --version
|
||||||
else
|
else
|
||||||
|
|
@ -12,5 +10,5 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python3.7 --version
|
python3.7 --version
|
||||||
python3.7 -m pip install lib3to6
|
python3.7 -m pip install setuptools lib3to6
|
||||||
python3.7 setup.py bdist_wheel --python-tag=py2.py3
|
python3.7 setup.py bdist_wheel --python-tag=py2.py3
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# minimal test requirements for py27 testing
|
||||||
|
python -m pip install pytest rst2html5
|
||||||
|
|
||||||
rst2html5 --strict README.rst > /dev/null
|
rst2html5 --strict README.rst > /dev/null
|
||||||
rst2html5 --strict CHANGELOG.rst > /dev/null
|
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__)')
|
||||||
python -m pip install pytest
|
|
||||||
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue