Skip to content

Commit

Permalink
added travis and tox configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpark1013 committed Nov 7, 2019
1 parent f1c9142 commit d68d656
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
4 changes: 4 additions & 0 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
wheel
flake8
tox
pytest
19 changes: 19 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[tox]
envlist = py36, py37, py38

[travis]
python =
3.6: py36
3.7: py37
3.8: py38

[testenv]
setenv =
PYTHONPATH = {toxinidir}
deps =
-r{toxinidir}/requirements_dev.txt

commands =
pip install -U pip
pip list
pytest --basetemp={envtmpdir}
8 changes: 8 additions & 0 deletions travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: python
python:
- 3.8
- 3.7
- 3.6
install:
- pip install -U tox-travis
script: tox

0 comments on commit d68d656

Please sign in to comment.