From 4da77836ce24f861acf5935e03b9e80a5976cddb Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 6 Oct 2017 23:01:37 +0300 Subject: [PATCH] Tests(CI): Explicitly list python versions at Travis CI --- .travis.yml | 47 +++++++++++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5a25883..550b6d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ sudo: required language: python python: - - "3.6" + - "2.7" cache: pip @@ -23,21 +23,36 @@ 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: "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: "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: "2.7" + env: TOXENV=py27-flake8 + - python: "3.4" + env: TOXENV=py34-flake8 install: - travis_retry pip install tox ppu -- 2.39.5