Skip to content

Commit

Permalink
Add validation by Divio CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner committed Mar 24, 2021
1 parent be4ddb6 commit 2d25959
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -30,6 +30,7 @@ jobs:
- { stage: lint, python: 3.8, env: TOXENV=pylint }
- { stage: lint, python: 3.8, env: TOXENV=bandit }
- { stage: lint, python: 3.8, env: TOXENV=jshint }
- { stage: lint, python: 3.8, env: TOXENV=divio }
- { stage: lint, python: 3.8, env: TOXENV=readme }

- stage: deploy
Expand Down
8 changes: 8 additions & 0 deletions tox.ini
Expand Up @@ -7,6 +7,7 @@ envlist =
py{36,37,38}-django30-cms{37,38}
py{36,37,38}-django31-cms38
jshint
divio
readme
clean

Expand Down Expand Up @@ -72,6 +73,13 @@ commands =
{envpython} setup.py -q sdist bdist_wheel
twine check dist/*

[testenv:divio]
description = Divio CLI
deps =
aldryn-client
divio-cli
commands = divio {posargs:addon validate}

[travis:env]
DJANGO =
2.2: django22
Expand Down

0 comments on commit 2d25959

Please sign in to comment.