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
3
3
python :
4
4
- 2.7
5
5
# - "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
20
6
install :
21
7
- pip install -e .[test]
22
8
- pip install flake8
@@ -33,10 +19,12 @@ matrix:
33
19
script :
34
20
- py.test --cov=graphql graphql tests tests_py35
35
21
- python : ' 3.6'
36
- after_install :
37
- - pip install pytest-asyncio
22
+ install :
23
+ - pip install -e .[test]
24
+ - pip install pytest-asyncio mypy
38
25
script :
39
26
- py.test --cov=graphql graphql tests tests_py35
27
+ - mypy graphql --ignore-missing-imports
40
28
- python : ' 2.7'
41
29
42
30
deploy :
You can’t perform that action at this time.
0 commit comments