X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=project_template%2F.travis.yml;h=6ca690c9c53de40627ad3e5adedd4ae1e7ad5149;hp=74a3facb36125c7ca755b25fd95ee8dc92476799;hb=b7ae06580ad78c9219c6af11893610d86c6a5531;hpb=b2027c2ae3aa07681bd9881b9f3afc173fcd9782 diff --git a/project_template/.travis.yml b/project_template/.travis.yml index 74a3fac..6ca690c 100644 --- a/project_template/.travis.yml +++ b/project_template/.travis.yml @@ -1,10 +1,9 @@ # Config file for automatic testing at travis-ci.org -# Only test maint, master and pull requests; skip tags. +# Only test master and pull requests; skip tags. # Other branches can allow themselves. branches: only: - - maint - master # Prefer docker containers @@ -13,24 +12,37 @@ 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.3" + env: TOXENV=py33 + - python: "3.4" + env: TOXENV=py34 + - python: "3.5" + env: TOXENV=py35 + - python: "3.6" + env: TOXENV=py36 + - python: "2.7" + env: TOXENV=py27-flake8 + - python: "3.4" + env: TOXENV=py34-flake8 + - python: "pypy" + env: TOXENV=pypy + allow_failures: - env: TOXENV=pypy install: - - travis_retry pip install tox + - travis_retry pip install --upgrade pip setuptools tox ppu script: - tox + +before_cache: + - remove-old-files.py -o 180 ~/.cache/pip