Skip to content

Commit

Permalink
Add travis check for migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Oct 31, 2018
1 parent e9441eb commit 818566b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 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:
script: tox
- python: 3.6
env: TOXENV=eslint
- python: 3.6
env: TOXENV=migrations
cache:
directories:
- ~/.cache/pip
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ changedir = {toxinidir}/docs
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

[testenv:migrations]
description = check for missing migrations
changedir = {toxinidir}
commands =
./manage.py makemigrations --check --dry-run

[testenv:docs-lint]
description = run linter (rstcheck) to ensure there aren't errors on our docs
deps = -r{toxinidir}/requirements/docs-lint.txt
Expand Down

0 comments on commit 818566b

Please sign in to comment.