11language : python
2- cache : pip
2+ dist : xenial
33env :
44 global :
55 - LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
66 - SEGFAULT_SIGNALS=all
7- matrix :
8- - TOXENV=check
9- {%- if cookiecutter.sphinx_docs == "yes" %}
10- - TOXENV=docs
11- {%- endif %}
127matrix :
138 include :
9+ - python : ' 3.6'
10+ env :
11+ - TOXENV=check
12+ {%- if cookiecutter.sphinx_docs == "yes" %}
13+ - python : ' 3.6'
14+ env :
15+ - TOXENV=docs
16+ {%- endif %}
1417{%- for env in ['py27', 'py34', 'py35', 'py36', 'py37', 'pypy', 'pypy3'] %}{{ '' }}
15- - python : ' {{ env.split("-")[0] if env.startswith("pypy") else "{0[2]}.{0[3]}".format(env) }}'
16- {%- if env.startswith('py37') %}
17- dist : xenial
18+ {%- if env.startswith("pypy3") %}
19+ - python : ' pypy3.5-6.0'
20+ {%- elif env.startswith("pypy") %}
21+ - python : ' pypy2.7-6.0'
22+ {%- else %}
23+ - python : ' {{ "{0[2]}.{0[3]}".format(env) }}'
1824{%- endif %}
1925 env :
2026 - TOXENV={{ env }}{% if cookiecutter.test_matrix_separate_coverage == 'yes' %}-cover{% endif %},report
@@ -23,9 +29,12 @@ matrix:
2329 {%- endif %}
2430 {%- if cookiecutter.codecov == 'yes' %},codecov{% endif %}
2531{%- if cookiecutter.test_matrix_separate_coverage == 'yes' %}
26- - python : ' {{ env.split("-")[0] if env.startswith("pypy") else "{0[2]}.{0[3]}".format(env) }}'
27- {%- if env.startswith('py37') %}
28- dist : xenial
32+ {%- if env.startswith("pypy3") %}
33+ - python : ' pypy3.5-6.0'
34+ {%- elif env.startswith("pypy") %}
35+ - python : ' pypy2.7-6.0'
36+ {%- else %}
37+ - python : ' {{ "{0[2]}.{0[3]}".format(env) }}'
2938{%- endif %}
3039 env :
3140 - TOXENV={{ env }}-nocov
@@ -41,27 +50,6 @@ install:
4150 - easy_install --version
4251 - pip --version
4352 - tox --version
44- - |
45- set -ex
46- if [[ $TRAVIS_PYTHON_VERSION == 'pypy' ]]; then
47- (cd $HOME
48- wget https://bitbucket.org/pypy/pypy/downloads/pypy2-v6.0.0-linux64.tar.bz2
49- tar xf pypy2-*.tar.bz2
50- pypy2-*/bin/pypy -m ensurepip
51- pypy2-*/bin/pypy -m pip install -U virtualenv)
52- export PATH=$(echo $HOME/pypy2-*/bin):$PATH
53- export TOXPYTHON=$(echo $HOME/pypy2-*/bin/pypy)
54- fi
55- if [[ $TRAVIS_PYTHON_VERSION == 'pypy3' ]]; then
56- (cd $HOME
57- wget https://bitbucket.org/pypy/pypy/downloads/pypy3-v6.0.0-linux64.tar.bz2
58- tar xf pypy3-*.tar.bz2
59- pypy3-*/bin/pypy3 -m ensurepip
60- pypy3-*/bin/pypy3 -m pip install -U virtualenv)
61- export PATH=$(echo $HOME/pypy3-*/bin):$PATH
62- export TOXPYTHON=$(echo $HOME/pypy3-*/bin/pypy3)
63- fi
64- set +x
6553script :
6654 - tox -v
6755after_failure :
0 commit comments