File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,6 @@ sudo: false
33python :
44- 2.7
55# - "pypy-5.3.1"
6- before_install :
7- - |
8- if [ "$TRAVIS_PYTHON_VERSION" = "pypy" ]; then
9- export PYENV_ROOT="$HOME/.pyenv"
10- if [ -f "$PYENV_ROOT/bin/pyenv" ]; then
11- cd "$PYENV_ROOT" && git pull
12- else
13- rm -rf "$PYENV_ROOT" && git clone --depth 1 https://github.com/yyuu/pyenv.git "$PYENV_ROOT"
14- fi
15- export PYPY_VERSION="4.0.1"
16- "$PYENV_ROOT/bin/pyenv" install "pypy-$PYPY_VERSION"
17- virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION"
18- source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate"
19- fi
206install :
217- pip install -e .[test]
228- pip install flake8
@@ -33,10 +19,12 @@ matrix:
3319 script :
3420 - py.test --cov=graphql graphql tests tests_py35
3521 - python : ' 3.6'
36- after_install :
37- - pip install pytest-asyncio
22+ install :
23+ - pip install -e .[test]
24+ - pip install pytest-asyncio mypy
3825 script :
3926 - py.test --cov=graphql graphql tests tests_py35
27+ - mypy graphql --ignore-missing-imports
4028 - python : ' 2.7'
4129
4230deploy :
You can’t perform that action at this time.
0 commit comments