Skip to content

Commit

Permalink
Added validation of distribution
Browse files Browse the repository at this point in the history
This will ensure we catch errors related to the distribution prior to trying to release.
  • Loading branch information
clintonb committed Dec 11, 2019
1 parent bd37173 commit da44a48
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ matrix:
include:
- python: 3.8
env: TOXENV=quality
- python: 3.8
env: TOXENV=dist-validation
before_script:
- export PIP_USE_MIRRORS=true
- export DJANGO_SETTINGS_MODULE=test_settings
Expand Down
12 changes: 7 additions & 5 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
Changelog
=========

3.0.0 (in development)
----------------------
* `#147`_: Cleaned Tox test environment.
* `#147`_: Removed Django 2.0 from test matrix as no longer supported.
* `#152`_: Removed Django 1.10 from test matrix as no longer supported.
3.0.0
-----
* `#147`_: Dropped support for Django 2.0
* `#152`_: Dropped support for Django 1.10
* `#152`_: Add support for Python 3.8
* `#152`_: Add support for Django 3.0

.. _#147: https://github.com/jazzband/django-sortedm2m/issues/147
.. _#152: https://github.com/jazzband/django-sortedm2m/issues/152

2.0.0
-----
* `#135`_: Updated README with Jazzband details, and added CONTRIBUTING.md
Expand Down
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,10 @@ whitelist_externals =
commands =
make quality


[testenv:dist-validation]
deps =
twine>=3.1.1
commands =
python setup.py sdist
twine check dist/*

0 comments on commit da44a48

Please sign in to comment.