X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=blobdiff_plain;f=appveyor.yml;h=9aa0e1fe5adbf6eeab6525238b57deb25d7750c9;hp=9d556da2c9ee45217837ebdc061e3cf1b4b50ae2;hb=96c2cb6da5a7b7f4c13043f746636a36cfeb6c5e;hpb=bcb6088cd15ececd137db70bef0d17ffa4eab8d4 diff --git a/appveyor.yml b/appveyor.yml index 9d556da..9aa0e1f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,14 +2,6 @@ # Heavily inspired by Oliver Grisel's appveyor-demo (https://github.com/ogrisel/python-appveyor-demo) version: '{branch}-{build}' -# Only test master and pull requests; skip tags. -# Other branches can allow themselves. -branches: - only: - - master -skip_branch_with_pr: false -skip_tags: true - cache: - '%LOCALAPPDATA%\pip\Cache' @@ -28,36 +20,49 @@ environment: PYTHON_VERSION: "2.7" PYTHON_ARCH: "32" PYTHON_HOME: "C:\\Python27" - - TOXENV: "py36" - PYTHON_VERSION: "3.6" + - TOXENV: "py37" + PYTHON_VERSION: "3.7" + PYTHON_ARCH: "64" + PYTHON_HOME: "C:\\Python37-x64" + - TOXENV: "py38" + PYTHON_VERSION: "3.8" PYTHON_ARCH: "64" - PYTHON_HOME: "C:\\Python36-x64" + PYTHON_HOME: "C:\\Python38-x64" - TOXENV: "py27-postgres-w32" PYTHON_VERSION: "2.7" PYTHON_ARCH: "32" PYTHON_HOME: "C:\\Python27" db: postgresql - - TOXENV: "py36-postgres-w32" - PYTHON_VERSION: "3.6" + - TOXENV: "py37-postgres-w32" + PYTHON_VERSION: "3.7" PYTHON_ARCH: "64" - PYTHON_HOME: "C:\\Python36-x64" + PYTHON_HOME: "C:\\Python37-x64" + db: postgresql + - TOXENV: "py38-postgres-w32" + PYTHON_VERSION: "3.8" + PYTHON_ARCH: "64" + PYTHON_HOME: "C:\\Python38-x64" db: postgresql - TOXENV: "py27-sqlite-w32" PYTHON_VERSION: "2.7" PYTHON_ARCH: "32" PYTHON_HOME: "C:\\Python27" - - TOXENV: "py36-sqlite-w32" - PYTHON_VERSION: "3.6" + - TOXENV: "py37-sqlite-w32" + PYTHON_VERSION: "3.7" + PYTHON_ARCH: "64" + PYTHON_HOME: "C:\\Python37-x64" + - TOXENV: "py38-sqlite-w32" + PYTHON_VERSION: "3.8" PYTHON_ARCH: "64" - PYTHON_HOME: "C:\\Python36-x64" + PYTHON_HOME: "C:\\Python38-x64" - TOXENV: "py27-flake8" PYTHON_VERSION: "2.7" PYTHON_ARCH: "32" PYTHON_HOME: "C:\\Python27" - - TOXENV: "py34-flake8" - PYTHON_VERSION: "3.4" + - TOXENV: "py38-flake8" + PYTHON_VERSION: "3.8" PYTHON_ARCH: "64" - PYTHON_HOME: "C:\\Python34-x64" + PYTHON_HOME: "C:\\Python38-x64" install: # Ensure we use the right python version @@ -65,8 +70,9 @@ install: - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe" - "python --version" - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" + - "python -m pip install --upgrade \"pip<21\" \"setuptools<44\"" + - "pip install --upgrade \"tox<3.1\" ppu" - "pip --version" - - "pip install --upgrade pip setuptools tox ppu" # No build step - we don't have C extensions build: false