mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 06:20:08 +01:00
travis experiment #10\n\nin retrospect it couldn't have worked...
This commit is contained in:
parent
43e1bfb271
commit
225998de0f
2 changed files with 4 additions and 5 deletions
|
|
@ -16,9 +16,6 @@ before_install:
|
|||
- sudo apt-get install -y git mercurial
|
||||
- sudo bash travis_build_wheel.sh
|
||||
|
||||
install:
|
||||
- pip install $(cat requirements-test.txt)
|
||||
|
||||
script:
|
||||
- python --version
|
||||
- bash travis_run_tests.sh
|
||||
|
|
|
|||
|
|
@ -7,15 +7,17 @@ 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 pytest --cov=pycalver test/
|
||||
python -m pip install pytest
|
||||
python -m pytest test/
|
||||
|
||||
if [[ $(python -c "import sys;print(sys.version[:3])") == "3.7" ]]; then
|
||||
python -m pip install $(cat requirements-test.txt)
|
||||
python -m flake8 src/pycalver/
|
||||
|
||||
MYPYPATH=stubs/ python -m mypy src/pycalver/;
|
||||
|
||||
# next test module from src/
|
||||
PYTHONPATH=src/:$PYTHONPATH python -m pytest --cov=pycalver test/;
|
||||
codecov
|
||||
fi
|
||||
|
||||
codecov
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue