X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=project_template%2F.travis.yml;h=c3d76aa89bc4b7288095e3f2377b8d4b228ba231;hp=cf04d5d9d6214bfa9ad16b10b41f2bf5d1918acd;hb=c57fb8aa2c95367e77106fd2c479184b06a84114;hpb=8140fff09b51affc770283a412b05abaf177513b diff --git a/project_template/.travis.yml b/project_template/.travis.yml index cf04d5d..c3d76aa 100644 --- a/project_template/.travis.yml +++ b/project_template/.travis.yml @@ -1,35 +1,36 @@ -# Config file for automatic testing at travis-ci.org - -# Only test master and pull requests; skip tags. -# Other branches can allow themselves. -branches: - only: - - master - -# Prefer docker containers -sudo: required - language: python python: - - "3.6" + - "2.7" cache: pip -env: - - TOXENV=py27 - - TOXENV=py33 - - TOXENV=py34 - - TOXENV=py35 - - TOXENV=py36 - - TOXENV=pypy - matrix: + include: + - python: "2.7" + env: TOXENV=py27 + - python: "3.4" + env: TOXENV=py34 + - python: "3.5" + env: TOXENV=py35 + - python: "3.6" + env: TOXENV=py36 + - python: "3.7" + dist: xenial + env: TOXENV=py37 + - python: "2.7" + env: TOXENV=py27-flake8 + - python: "3.7" + dist: xenial + env: TOXENV=py37-flake8 + - python: "pypy" + env: TOXENV=pypy + allow_failures: - env: TOXENV=pypy install: - - travis_retry pip install tox ppu + - travis_retry pip install --upgrade "pip < 19.1" setuptools tox ppu script: - tox