Do type-check on Travis CI

This commit is contained in:
Takeshi KOMIYA
2017-02-21 01:19:05 +09:00
parent 196f283555
commit d83dbcdae5

View File

@@ -43,7 +43,8 @@ install:
- pip install -U pip setuptools - pip install -U pip setuptools
- pip install docutils==$DOCUTILS - pip install docutils==$DOCUTILS
- pip install -r test-reqs.txt - pip install -r test-reqs.txt
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then python3.6 -m pip install mypy-lang 'typed-ast<1.0'; fi
script: script:
- flake8 - flake8
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then make style-check test-async; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then make style-check type-check test-async; fi
- if [[ $TRAVIS_PYTHON_VERSION != '3.6' ]]; then make test; fi - if [[ $TRAVIS_PYTHON_VERSION != '3.6' ]]; then make test; fi