X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.travis.yml;fp=.travis.yml;h=40e3e71fcd5fc892dc4a1dc087b3bd41c93321fb;hb=b882aa5c51df9148419898efa28b4cefc06e1a65;hp=0000000000000000000000000000000000000000;hpb=7c33752cdd2437acf71d8b21fe829fcd0cbc6cf7;p=mimedecode.git diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..40e3e71 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,41 @@ +# 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: + - "2.7" + +cache: pip + +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: "pypy" + env: TOXENV=pypy + +install: + - travis_retry pip install tox + +script: + - tox + +before_cache: + - scripts/remove-old-files.py -o 180 ~/.cache/pip