Replace Travis by GitHub Workflow as travis-ci.org will be shutting down in several weeks, see https://travis-ci.org/.
This PR also adds the tox test suite. The tests can be run locally using the following commands:
pip install tox
# Run tests using the available Python version
tox -e py
# Run flake8 linter
tox -e pep8
Note: don't forget to add the PYPI_TEST_TOKEN and PYPI_TOKEN secrets to the repository settings to allow automatic releases to PyPi on GitHub releases.
Replace Travis by GitHub Workflow as travis-ci.org will be shutting down in several weeks, see https://travis-ci.org/.
This PR also adds the tox test suite. The tests can be run locally using the following commands:
Note: don't forget to add the
PYPI_TEST_TOKEN
andPYPI_TOKEN
secrets to the repository settings to allow automatic releases to PyPi on GitHub releases.