Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ python:
- "3.6"
install:
- pip install poetry
- poetry install
- poetry install -vv
script:
- poetry run tox
30 changes: 11 additions & 19 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,36 +1,28 @@
[tox]
skipsdist=True
skipsdist=true
envlist=py36,flake8,doclint

[testenv]
whitelist_externals=
pytest
whitelist_externals=pytest
passenv=TRAVIS_EVENT_TYPE
commands=pytest -vv -rfx --tb=short {posargs}
commands=
pytest -vv -rfx --tb=short {posargs}

[testenv:integration]
whitelist_externals=
pytest
whitelist_externals=pytest
setenv=
TRAVIS_EVENT_TYPE=cron
commands=pytest -vv -rfx --tb=short test/test_recipes_integration.py
commands=
pytest -vv -rfx --tb=short test/test_recipes_integration.py

[testenv:flake8]
whitelist_externals=
flake8
whitelist_externals=flake8
commands=flake8 adr app test

[testenv:doclint]
# TODO figure out why doclint doesn't pick these up from the virtualenv
deps=
docutils
json-e
orderedset
pyyaml
requests
terminaltables
passenv=PYTHONPATH
commands=./doclint
sitepackages=true
commands=
python doclint

[flake8]
max-line-length = 100
Expand Down