File tree Expand file tree Collapse file tree 1 file changed +10
-39
lines changed Expand file tree Collapse file tree 1 file changed +10
-39
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
- sudo : false
3
- python :
4
- - 2.7
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
- install :
21
- - pip install -e .[test]
22
- - pip install flake8
23
- script :
24
- - flake8
25
- - py.test --cov=graphql graphql tests
26
- after_success :
27
- - coveralls
28
- matrix :
29
- include :
30
- - python : ' 3.5'
31
- after_install :
32
- - pip install pytest-asyncio
33
- script :
34
- - py.test --cov=graphql graphql tests tests_py35
35
- - python : ' 3.6'
36
- after_install :
37
- - pip install pytest-asyncio
38
- script :
39
- - py.test --cov=graphql graphql tests tests_py35
40
- - python : ' 2.7'
2
+ python : 3.6
3
+ env : # These should match the tox env list.
4
+ - TOXENV=flake8
5
+ - TOXENV=py27
6
+ - TOXENV=py33
7
+ - TOXENV=py34
8
+ - TOXENV=py35
9
+ - TOXENV=py36
10
+ - TOXENV=pypy
11
+ - TOXENV=pre-commit
41
12
42
13
deploy :
43
14
provider : pypi
You can’t perform that action at this time.
0 commit comments