X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.travis.yml;h=649f8bf2a406e4dd92e8b8978fa22abad7e5b651;hb=66a2e31cb049a4873f871fd34916410affbedd0e;hp=d257dcef09862ff0a69813c174400c22f33d685e;hpb=c9b64e869f9e673b0d213be3f7d098ef00e4fe1c;p=ppu.git diff --git a/.travis.yml b/.travis.yml index d257dce..649f8bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,30 +1,33 @@ -# 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.4" + env: TOXENV=py34 + - python: "3.5" + env: TOXENV=py35 + - python: "3.6" + env: TOXENV=py36 + - python: "3.7" + env: TOXENV=py37 + - python: "2.7" + env: TOXENV=py27-flake8 + - python: "3.7" + env: TOXENV=py37-flake8 install: - - travis_retry pip install tox + - travis_retry pip install --upgrade "pip < 19.1" setuptools tox script: - tox