X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=blobdiff_plain;f=.travis.yml;h=a6df1127a340eec0771f34dfa1e26a6aa39aefec;hp=5a2588301ac687ec6697e8975be36579d808b08b;hb=1878992bf0f98d3c419d22eb0c0f153c31f33705;hpb=5dedec6fb8080fb8089e6f2f9274f2fba577cf87 diff --git a/.travis.yml b/.travis.yml index 5a25883..a6df112 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,11 @@ -# 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 @@ -23,24 +16,45 @@ addons: - python3-psycopg2 postgresql: "9.4" -env: - - TOXENV=py27 - - TOXENV=py34 - - TOXENV=py35 - - TOXENV=py36 - - TOXENV=py27-postgres - - TOXENV=py34-postgres - - TOXENV=py35-postgres - - TOXENV=py36-postgres - - TOXENV=py27-sqlite - - TOXENV=py34-sqlite - - TOXENV=py35-sqlite - - TOXENV=py36-sqlite - - 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" + env: TOXENV=py37 + - python: "2.7" + env: TOXENV=py27-postgres + - python: "3.4" + env: TOXENV=py34-postgres + - python: "3.5" + env: TOXENV=py35-postgres + - python: "3.6" + env: TOXENV=py36-postgres + - python: "3.7" + env: TOXENV=py37-postgres + - python: "2.7" + env: TOXENV=py27-sqlite + - python: "3.4" + env: TOXENV=py34-sqlite + - python: "3.5" + env: TOXENV=py35-sqlite + - python: "3.6" + env: TOXENV=py36-sqlite + - python: "3.7" + env: TOXENV=py37-sqlite + - python: "2.7" + env: TOXENV=py27-flake8 + - python: "3.7" + env: TOXENV=py37-flake8 install: - - travis_retry pip install tox ppu + - travis_retry pip install --upgrade "pip < 19.1" setuptools tox ppu script: - tox