X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=.travis.yml;h=68a214e35f2cb7b211df659d6f0377fa0f9d4143;hb=7e860e914cd2bae272c514a19e825e835c4017c6;hp=d62df94e502f6fd2f85ba04bb4c2fd5a2ce24f82;hpb=c7d2f9b11f4ceb5421d63da56b9cd3e36b975b07;p=ppu.git diff --git a/.travis.yml b/.travis.yml index d62df94..68a214e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,32 +1,31 @@ -# 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: - - "3.6" + - "2.7" cache: pip -env: - - TOXENV=py27 - - TOXENV=py33 - - TOXENV=py34 - - TOXENV=py35 - - TOXENV=py36 - - TOXENV=py27-flake8 - - TOXENV=py34-flake8 +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" + dist: xenial + env: TOXENV=py37 + - python: "2.7" + env: TOXENV=py27-flake8 + - python: "3.7" + dist: xenial + env: TOXENV=py37-flake8 install: - - travis_retry pip install tox + - travis_retry pip install --upgrade "pip < 19.1" setuptools tox script: - tox