mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Better approach to testing. Fixes #7.
This commit is contained in:
11
.travis.yml
11
.travis.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user