X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=blobdiff_plain;f=project_template%2F.travis.yml;fp=project_template%2F.travis.yml;h=74a3facb36125c7ca755b25fd95ee8dc92476799;hp=0000000000000000000000000000000000000000;hb=b2027c2ae3aa07681bd9881b9f3afc173fcd9782;hpb=4012c1f1fba8d3c8602334370568fdbcac48a769 diff --git a/project_template/.travis.yml b/project_template/.travis.yml new file mode 100644 index 0000000..74a3fac --- /dev/null +++ b/project_template/.travis.yml @@ -0,0 +1,36 @@ +# Config file for automatic testing at travis-ci.org + +# Only test maint, master and pull requests; skip tags. +# Other branches can allow themselves. +branches: + only: + - maint + - master + +# Prefer docker containers +sudo: required + +language: python + +python: + - "3.6" + +cache: pip + +env: + - TOXENV=py27 + - TOXENV=py33 + - TOXENV=py34 + - TOXENV=py35 + - TOXENV=py36 + - TOXENV=pypy + +matrix: + allow_failures: + - env: TOXENV=pypy + +install: + - travis_retry pip install tox + +script: + - tox