X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.travis.yml;h=8bd44baf15fbf8cc445fb66cdb963eee694549f0;hb=797a182fbfdd39ed6fa9bcd811f5fe2c56d3f9cd;hp=ddec68a13e46712bb9c2024cbd4eebe5b394aefe;hpb=dd127f84569ceebec6243a16c3bb9e4130493a6b;p=ppu.git diff --git a/.travis.yml b/.travis.yml index ddec68a..8bd44ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,30 +1,38 @@ -# Config file for automatic testing at travis-ci.org +os: linux -# Only test master and pull requests; skip tags. -# Other branches can allow themselves. -branches: - only: - - master - -# Prefer docker containers -sudo: required +dist: xenial language: python python: - - "3.6" + - "2.7" cache: pip -env: - - TOXENV=py27 - - TOXENV=py33 - - TOXENV=py34 - - TOXENV=py35 - - TOXENV=py36 +matrix: + include: + - python: "2.7" + env: TOXENV=py27 + - python: "3.5" + env: TOXENV=py35 + - python: "3.6" + env: TOXENV=py36 + - python: "3.7" + env: TOXENV=py37 + - python: "3.8" + env: TOXENV=py38 + - python: "3.9" + env: TOXENV=py39 + - python: "2.7" + env: TOXENV=py27-flake8 + - python: "3.9" + env: TOXENV=py39-flake8 install: - - travis_retry pip install tox + - travis_retry pip install --upgrade "pip<21" "setuptools<44" "tox>=3.15" script: - tox + +before_cache: + - scripts/remove-old-files.py -o 180 ~/.cache/pip