mirror of
https://github.com/jongracecox/anybadge.git
synced 2026-01-07 12:51:36 +01:00
Add basic wheel test to ci
This commit is contained in:
@@ -19,6 +19,12 @@ script:
|
||||
pre-commit run --all;
|
||||
fi
|
||||
- pytest --doctest-modules --cov=anybadge --cov-report html:htmlcov anybadge tests
|
||||
- python setup.py bdist_wheel
|
||||
- ls -l dist
|
||||
- WHEEL=$(readlink -f "dist/anybadge-*.whl") && echo "$WHEEL"
|
||||
- mkdir tmp && cd tmp
|
||||
- pip install "$WHEEL"
|
||||
- anybadge -l label -v value
|
||||
before_deploy:
|
||||
- sed -i "s/^version = .*/version = __version__ = \"$TRAVIS_TAG\"/" anybadge/__init__.py
|
||||
deploy:
|
||||
|
||||
Reference in New Issue
Block a user