]> git.phdru.name Git - sqlconvert.git/blobdiff - .travis.yml
CI: pip<21 for Python 2.7
[sqlconvert.git] / .travis.yml
index b240f97bab00f3881c3c73e850509aab7ea16c4b..53ebf0a1557a654a5769da2880b203834cf55e1f 100644 (file)
@@ -1,13 +1,6 @@
-# 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
 
@@ -34,8 +27,9 @@ matrix:
   - python: "3.6"
     env: TOXENV=py36
   - python: "3.7"
-    dist: xenial
     env: TOXENV=py37
+  - python: "3.8"
+    env: TOXENV=py38
   - python: "2.7"
     env: TOXENV=py27-postgres
   - python: "3.4"
@@ -45,8 +39,9 @@ matrix:
   - python: "3.6"
     env: TOXENV=py36-postgres
   - python: "3.7"
-    dist: xenial
     env: TOXENV=py37-postgres
+  - python: "3.8"
+    env: TOXENV=py38-postgres
   - python: "2.7"
     env: TOXENV=py27-sqlite
   - python: "3.4"
@@ -56,16 +51,16 @@ matrix:
   - python: "3.6"
     env: TOXENV=py36-sqlite
   - python: "3.7"
-    dist: xenial
     env: TOXENV=py37-sqlite
+  - python: "3.8"
+    env: TOXENV=py38-sqlite
   - python: "2.7"
     env: TOXENV=py27-flake8
-  - python: "3.7"
-    dist: xenial
-    env: TOXENV=py37-flake8
+  - python: "3.8"
+    env: TOXENV=py38-flake8
 
 install:
-  - travis_retry pip install --upgrade pip setuptools tox ppu
+  - travis_retry pip install --upgrade "pip<21" "setuptools<44" tox ppu
 
 script:
   - tox