Better approach to testing. Fixes #7.

This commit is contained in:
Guido van Rossum
2016-01-28 11:17:26 -08:00
parent 6452fb0c90
commit f77e9dc9a0

View File

@@ -8,10 +8,7 @@ install:
- pip install git+git://github.com/JukkaL/mypy
script:
- mypy stdlib/3/
- mypy stdlib/2and3/
- rm -rf 3_3; cp -R stdlib/3.3 3_3; mypy 3_3/
- rm -rf 3_4; cp -R stdlib/3.4 3_4; mypy 3_4/
- mypy --py2 stdlib/2and3/
- rm -rf 2_7; cp -R -L stdlib/2.7 2_7; rm 2_7/__builtin__.pyi ; mypy --py2 2_7/
# That doesn't test everything, but it's a start.
- mypy `find stdlib/{2and3,3*} -name \*.pyi`
- mypy `find third_party/{2and3,3*} -name \*.pyi`
- mypy --py2 `find stdlib/2* -name \*.pyi | grep -v __builtin__.pyi` # builtins and __builtin__ are aliases
- mypy --py2 `find third_party/2* -name \*.pyi | grep -v sqlalchemy` # sqlalchemy is currently busted