Skip to content

Commit 5f40d89

Browse files
committed
Set 'typing' package to be installed only on Python 2.7. This fixes the import issue raised
Python 3.7, on using the 'typing 3.6'.
1 parent aab7541 commit 5f40d89

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ python:
1212
- "pypy"
1313
- "pypy3.5-7.0" # Need 7.0+ due to a bug in earlier versions that broke our tests.
1414

15+
matrix:
16+
include:
17+
- name: "Type checking"
18+
python: "3.7"
19+
env: TOXENV=typecheck
20+
- name: "Lint"
21+
python: "3.7"
22+
env: TOXENV=lint
23+
24+
# Temporary bandaid for https://github.com/PyFilesystem/pyfilesystem2/issues/342
25+
allow_failures:
26+
- python: pypy
27+
- python: pypy3.5-7.0
1528

1629
before_install:
1730
- pip install -U tox tox-travis

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = {py27,py34,py35,py36,py37,py38}{,-scandir},pypy,typecheck,lint
2+
envlist = {py27,py34,py35,py36,py37}{,-scandir},pypy,typecheck,lint
33
sitepackages = False
44
skip_missing_interpreters=True
55

0 commit comments

Comments
 (0)