Disable mypy on OSX on Travis.

This commit is contained in:
Dan Gohman
2018-11-28 16:25:01 -08:00
parent f8754c2cf8
commit 06d269be63

View File

@@ -17,7 +17,11 @@ function runif {
runif flake8 . runif flake8 .
# Type checking. # Type checking.
runif mypy --py2 build.py # Disable mypy checking on osx on travis for now, since pip installs mypy into
# a directory which is not in the PATH.
if [ "$TRAVIS_OS_NAME" != "osx" ]; then
runif mypy --py2 build.py
fi
# Python unit tests. # Python unit tests.
runif python2.7 -m unittest discover runif python2.7 -m unittest discover