]> git.phdru.name Git - sqlconvert.git/blobdiff - .travis.yml
CI: Run tests at Github Actions
[sqlconvert.git] / .travis.yml
index 550b6d0e397e8515acb768708d3bedcc260993ba..3a81d9c475fb2b33ffcdc059c5c697fa6c8eaea1 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
 
@@ -27,35 +20,47 @@ 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: "3.8"
+    env: TOXENV=py38
+  - python: "3.9"
+    env: TOXENV=py39
   - 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: "3.8"
+    env: TOXENV=py38-postgres
+  - python: "3.9"
+    env: TOXENV=py39-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: "3.8"
+    env: TOXENV=py38-sqlite
+  - python: "3.9"
+    env: TOXENV=py39-sqlite
   - python: "2.7"
     env: TOXENV=py27-flake8
-  - python: "3.4"
-    env: TOXENV=py34-flake8
+  - python: "3.9"
+    env: TOXENV=py39-flake8
 
 install:
-  - travis_retry pip install tox ppu
+  - travis_retry pip install --upgrade "pip<21" "setuptools<44" "tox>=3.15" ppu
 
 script:
   - tox