-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dylan Stein
committed
May 19, 2018
1 parent
7eee893
commit f1900e7
Showing
2 changed files
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
language: python | ||
|
||
python: | ||
- "3.6" | ||
- "3.7-dev" | ||
- "3.6" | ||
- "3.7-dev" | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
install: pip install tox | ||
install: | ||
- pip install tox-travis | ||
- pip install tox-pipenv | ||
|
||
script: tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
[tox] | ||
envlist = flake8,py36,py37 | ||
|
||
[testenv] | ||
passenv=HOME | ||
deps = pipenv | ||
commands= | ||
pipenv install --dev --ignore-pipfile | ||
pipenv install --dev | ||
pipenv run py.test tests | ||
|
||
[testenv:flake8-py3] | ||
[testenv:flake8] | ||
passenv=HOME | ||
basepython = python3.6 | ||
deps = flake8 | ||
commands= | ||
pipenv install --dev --ignore-pipfile | ||
{[testenv]deps} | ||
pipenv install --dev | ||
pipenv run flake8 --version | ||
pipenv run flake8 setup.py drfpasswordless tests | ||
pipenv run flake8 setup.py docs project test |