Skip to content

Commit 2122333

Browse files
authored
Travis CI: install typing on python2 to restore some skipped tests (#9528)
This used to be installed but was removed in def2c63990dd#diff-354f30a63fb0907d4ad57269548329e3L15 in `mypy/util.py:try_find_python2_interpreter()` we try to find a valid python2 interpreter with typing installed. If we don't find it, tests are skipped. However on python/typeshed, the CI installs typing on python2, and thus doesn't skip the tests Resolves #9473
1 parent f94cc9e commit 2122333

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ install:
8585
- pip install -U pip setuptools
8686
- pip install -U 'virtualenv<20'
8787
- pip install -U tox==3.9.0
88+
- python2 -m pip install --user -U typing
8889
- tox --notest
8990

9091
# This is a big hack and only works because the layout of our directories

0 commit comments

Comments
 (0)