File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ dist : xenial
12language : python
2- sudo : false
3- cache : pip
3+ cache : false
44env :
55 global :
66 - LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
1111matrix :
1212 include :
1313{%- for env in tox_environments %}{{ '' }}
14- - python : ' {{ env.split("-")[0] if env.startswith("pypy") else "{0[2]}.{0[3]}".format(env) }}'
15- {% if env.startswith('py37') %}
16- dist : xenial
17- sudo : required
18- {% endif %}
14+ {% if env.startswith("pypy-") %}
15+ - python : ' pypy2.7-6.0'
16+ {% elif env.startswith("pypy3-") %}
17+ - python : ' pypy3.5-6.0'
18+ {% else %}
19+ - python : ' {{ "{0[2]}.{0[3]}".format(env) }}'
20+ {% endif %}
1921 env :
2022 - TOXENV={{ env }}{% if 'cover' in env %},report,coveralls,codecov{% endif -%}
2123{%- endfor %}{{ '' }}
@@ -29,27 +31,6 @@ install:
2931 - easy_install --version
3032 - pip --version
3133 - tox --version
32- - |
33- set -ex
34- if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then
35- (cd $HOME
36- wget https://bitbucket.org/pypy/pypy/downloads/pypy2-v6.0.0-linux64.tar.bz2
37- tar xf pypy2-*.tar.bz2
38- pypy2-*/bin/pypy -m ensurepip
39- pypy2-*/bin/pypy -m pip install -U virtualenv)
40- export PATH=$(echo $HOME/pypy2-*/bin):$PATH
41- export TOXPYTHON=$(echo $HOME/pypy2-*/bin/pypy)
42- fi
43- if [[ $TRAVIS_PYTHON_VERSION == 'pypy3' ]]; then
44- (cd $HOME
45- wget https://bitbucket.org/pypy/pypy/downloads/pypy3-v6.0.0-linux64.tar.bz2
46- tar xf pypy3-*.tar.bz2
47- pypy3-*/bin/pypy3 -m ensurepip
48- pypy3-*/bin/pypy3 -m pip install -U virtualenv)
49- export PATH=$(echo $HOME/pypy3-*/bin):$PATH
50- export TOXPYTHON=$(echo $HOME/pypy3-*/bin/pypy3)
51- fi
52- set +x
5334script :
5435 - tox -v
5536after_failure :
You can’t perform that action at this time.
0 commit comments