language: python
python:
- 3.4
- 3.5
- 3.6
install:
- pip install tox-travis
script:
- tox
# Ensure changelog was written:
- git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep docs/changes.rst

language: python
python:
- 3.4
- 3.5
- 3.6
install:
- pip install tox-travis
script:
- tox
# Ensure changelog was written:
- git diff --name-only "${TRAVIS_COMMIT_RANGE}${TRAVIS_TAG}" | grep docs/changes.rst

Fix broken changelog checker on tagging
Fix broken changelog checker on tagging

According to Travis CI docs [1], TRAVIS_COMMIT_RANGE and TRAVIS_TAG are
mutually exclusive.

[1] https://docs.travis-ci.com/user/environment-variables/#Default-Environment-Variables
