Skip to content

Commit

Permalink
Add Django 2.2 environment to tests (#15)
Browse files Browse the repository at this point in the history
Add Django 2.2 environment to tests
  • Loading branch information
ababic committed Jun 16, 2019
1 parent f185245 commit 7ebfdc1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
13 changes: 6 additions & 7 deletions .travis.yml
@@ -1,27 +1,26 @@
language: python
cache: pip
dist: trusty

matrix:
include:
- env: TOXENV=py34-dj111
sudo: false
dist: trusty
python: 3.4
- env: TOXENV=py35-dj111
sudo: false
dist: trusty
python: 3.5
- env: TOXENV=py36-dj111
sudo: false
dist: trusty
python: 3.6
- env: TOXENV=py37-dj2
sudo: true
dist: xenial
python: 3.7
- env: TOXENV=py37-dj21
sudo: true
dist: xenial
python: 3.7
- env: TOXENV=py37-dj22
dist: xenial
python: 3.7

install:
- pip install tox codecov
script:
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -4,10 +4,12 @@ Changelog
0.3 (XX.XX.XXXX) (IN DEVELOPMENT)
----------------------------------

- Add support for Django 2.2
- Added the ``warn_only_if_overridden`` argument to all 'value fetching' methods on ``BaseAppSettingsHelper``, which can be used to request deprecated setting values without raising the usual 'this setting is deprecated' warning, but will raise a warning if the setting is overridden.
- Improved the consistency of error messages raised when attribute helpers or methods are called with invalid setting names, by introducing a new ``UnknownSettingNameError`` exception class and more helpful messaging.
- Renamed ``BaseAppSettingsHelper.raise_setting_error()`` to ``_raise_setting_value_error()`` (making it a private method).


0.2 (02.08.2018)
----------------

Expand Down
7 changes: 4 additions & 3 deletions tox.ini
Expand Up @@ -2,12 +2,12 @@
skipsdist = True
usedevelop = True

envlist =
py{34,35,36}-dj{111,2,21}
envlist =
py{34,35,36}-dj{111,2,21,22}

[testenv]
install_command = pip install -e ".[testing]" -U {opts} {packages}
commands = coverage run --source=cogwheels --omit=cogwheels/utils/* runtests.py
commands = coverage run --source=cogwheels --omit=cogwheels/utils/* runtests.py

basepython =
py34: python3.4
Expand All @@ -19,3 +19,4 @@ deps =
dj111: Django>=1.11,<2.1
dj2: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
dj22: Django>=2.2,<3.0

0 comments on commit 7ebfdc1

Please sign in to comment.