Try installing mypy only when python version is 3.6

This commit is contained in:
Daniel Gallagher 2018-06-08 22:00:01 -07:00
parent 1d49df033c
commit 87cf3d4b80

View File

@ -13,7 +13,9 @@ matrix:
python: pypy-5.7.1 python: pypy-5.7.1
- env: TOXENV=pre-commit - env: TOXENV=pre-commit
python: 3.6 python: 3.6
install: pip install coveralls tox mypy install:
- pip install coveralls tox mypy
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then pip install mypy; fi
script: tox script: tox
after_success: coveralls after_success: coveralls
cache: cache: