Skip to content

Commit

Permalink
Merge pull request #83 from hroncok/py37
Browse files Browse the repository at this point in the history
Support Python 3.7 (PEP 479)
  • Loading branch information
wolph authored Jun 25, 2018
2 parents ba62113 + c472e63 commit 9cb0996
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ env:
- TOX_ENV=py34-nix
- TOX_ENV=py35-nix
- TOX_ENV=py36-nix
matrix:
include:
- env: TOX_ENV=py37-nix
python: '3.7-dev'
install: pip install coveralls flake8 tox
# be more verbose not to timeout:
script: tox -vv -e $TOX_ENV
install:
- pip install -r tests/requirements.txt
- pip install coveralls flake8 tox
Expand Down
2 changes: 1 addition & 1 deletion stl/stl.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def get(prefix=''):
except AssertionError as e: # pragma: no cover
raise RuntimeError(recoverable[0], e)
except StopIteration:
raise
return

@classmethod
def _load_ascii(cls, fh, header, speedups=True):
Expand Down
5 changes: 4 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = {py27,py33,py34,py35,py36}-{windows-32,windows-64,nix}, docs, flake8
envlist = {py27,py33,py34,py35,py36,py37}-{windows-32,windows-64,nix}, docs, flake8
skip_missing_interpreters = True

[testenv]
Expand All @@ -12,6 +12,7 @@ basepython =
py34-nix: python3.4
py35-nix: python3.5
py36-nix: python3.6
py37-nix: python3.7
py27-windows-32: C:\\Python27\\python.exe
py27-windows-64: C:\\Python27-x64\\python.exe
py34-windows-32: C:\\Python34\\python.exe
Expand All @@ -20,6 +21,8 @@ basepython =
py35-windows-64: C:\\Python35-x64\\python.exe
py36-windows-32: C:\\Python36\\python.exe
py36-windows-64: C:\\Python36-x64\\python.exe
py37-windows-32: C:\\Python37\\python.exe
py37-windows-64: C:\\Python37-x64\\python.exe

[testenv:flake8]
basepython=python
Expand Down

0 comments on commit 9cb0996

Please sign in to comment.