Skip to content

Commit

Permalink
attempting updated .travis and tox
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Stein committed May 19, 2018
1 parent 7eee893 commit f1900e7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
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
15 changes: 11 additions & 4 deletions tox.ini
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

0 comments on commit f1900e7

Please sign in to comment.