X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=appveyor.yml;h=0113fa5e69e4ebb6a8c6e4827fad848ad52726f7;hb=d345973282b7d3ffc5fe91896751a7c8a4172978;hp=80ba5e1fb3ce83998fad10b7fad105c54c17a6cb;hpb=f5bc1166430a10995e541ab263cb22634c7d9da4;p=sqlconvert.git diff --git a/appveyor.yml b/appveyor.yml index 80ba5e1..0113fa5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -16,7 +16,13 @@ cache: # Match travis clone_depth: 50 +services: + - postgresql + environment: + PGUSER: "postgres" + PGPASSWORD: "Password12!" + matrix: - PYTHON_HOME: "C:\\Python27" PYTHON_VERSION: "2.7" @@ -50,6 +56,38 @@ environment: PYTHON_VERSION: "3.6" PYTHON_ARCH: "64" TOX_ENV: "py36" + - PYTHON_HOME: "C:\\Python27" + PYTHON_VERSION: "2.7" + PYTHON_ARCH: "32" + TOX_ENV: "py27-postgres-w32" + - PYTHON_HOME: "C:\\Python27-x64" + PYTHON_VERSION: "2.7" + PYTHON_ARCH: "64" + TOX_ENV: "py27-postgres-w32" + - PYTHON_HOME: "C:\\Python34" + PYTHON_VERSION: "3.4" + PYTHON_ARCH: "32" + TOX_ENV: "py34-postgres-w32" + - PYTHON_HOME: "C:\\Python34-x64" + PYTHON_VERSION: "3.4" + PYTHON_ARCH: "64" + TOX_ENV: "py34-postgres-w32" + - PYTHON_HOME: "C:\\Python35" + PYTHON_VERSION: "3.5" + PYTHON_ARCH: "32" + TOX_ENV: "py35-postgres-w32" + - PYTHON_HOME: "C:\\Python35-x64" + PYTHON_VERSION: "3.5" + PYTHON_ARCH: "64" + TOX_ENV: "py35-postgres-w32" + - PYTHON_HOME: "C:\\Python36" + PYTHON_VERSION: "3.6" + PYTHON_ARCH: "32" + TOX_ENV: "py36-postgres-w32" + - PYTHON_HOME: "C:\\Python36-x64" + PYTHON_VERSION: "3.6" + PYTHON_ARCH: "64" + TOX_ENV: "py36-postgres-w32" - PYTHON_HOME: "C:\\Python27" PYTHON_VERSION: "2.7" PYTHON_ARCH: "32" @@ -93,15 +131,18 @@ environment: install: # Ensure we use the right python version - - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;%PATH%" + - "SET PATH=%PYTHON_HOME%;%PYTHON_HOME%\\Scripts;C:\\Program Files\\PostgreSQL\\9.5\\bin;%PATH%" - "SET TOXPYTHON=%PYTHON_HOME%\\python.exe" - "python --version" - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" - "pip --version" - - "pip install tox" + - "pip install tox ppu" # No build step - we don't have C extensions build: false test_script: - "tox -e %TOX_ENV%" + +after_test: + - "remove-old-files.py -o 180 %LOCALAPPDATA%\\pip\\Cache"