Skip to content

Commit

Permalink
Add python3.7 (line#115)
Browse files Browse the repository at this point in the history
* Add python3.7-dev

* 3.7 is supported

* Add xenial
  • Loading branch information
be-hase authored May 22, 2019
1 parent 2192bd7 commit ad9ca6b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
dist: xenial

language: python

python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"

install: pip install tox-travis

Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27, py34, py35, py36, py36-flake8-src, py36-flake8-other
envlist = py27, py34, py35, py36, py37, py37-flake8-src, py37-flake8-other

[testenv]
deps =
Expand All @@ -8,21 +8,21 @@ deps =
-r{toxinidir}/requirements-test.txt
commands = py.test -v tests/

[testenv:py36]
basepython = python3.6
[testenv:py37]
basepython = python3.7
deps = {[testenv]deps}
commands = py.test -v --cov=linebot tests/

[testenv:py36-flake8-src]
basepython = python3.6
[testenv:py37-flake8-src]
basepython = python3.7
deps =
six
flake8
flake8-docstrings
commands = flake8 linebot/

[testenv:py36-flake8-other]
basepython = python3.6
[testenv:py37-flake8-other]
basepython = python3.7
deps =
six
flake8
Expand Down

0 comments on commit ad9ca6b

Please sign in to comment.