From afd6b0357447b589930855e665e0d110bab2292a Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sat, 19 Oct 2019 13:43:41 +0200 Subject: Try building Py38 windows packages Temporary commit to rebase. Will reinstate the .travis file before merging. --- .appveyor.yml | 22 ++++++++++++---------- .travis.yml | 24 ------------------------ scripts/appveyor.py | 3 ++- 3 files changed, 14 insertions(+), 35 deletions(-) delete mode 100644 .travis.yml diff --git a/.appveyor.yml b/.appveyor.yml index 13d4e25..2624a39 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -11,16 +11,18 @@ environment: matrix: # For Python versions available on Appveyor, see # https://www.appveyor.com/docs/build-environment/ - - {PY_VER: "27", PY_ARCH: "32"} - - {PY_VER: "27", PY_ARCH: "64"} - - {PY_VER: "37", PY_ARCH: "32"} - - {PY_VER: "37", PY_ARCH: "64"} - - {PY_VER: "36", PY_ARCH: "32"} - - {PY_VER: "36", PY_ARCH: "64"} - - {PY_VER: "35", PY_ARCH: "32"} - - {PY_VER: "35", PY_ARCH: "64"} - - {PY_VER: "34", PY_ARCH: "32"} - - {PY_VER: "34", PY_ARCH: "64"} + # - {PY_VER: "27", PY_ARCH: "32"} + # - {PY_VER: "27", PY_ARCH: "64"} + - {PY_VER: "38", PY_ARCH: "32"} + - {PY_VER: "38", PY_ARCH: "64"} + # - {PY_VER: "37", PY_ARCH: "32"} + # - {PY_VER: "37", PY_ARCH: "64"} + # - {PY_VER: "36", PY_ARCH: "32"} + # - {PY_VER: "36", PY_ARCH: "64"} + # - {PY_VER: "35", PY_ARCH: "32"} + # - {PY_VER: "35", PY_ARCH: "64"} + # - {PY_VER: "34", PY_ARCH: "32"} + # - {PY_VER: "34", PY_ARCH: "64"} OPENSSL_VERSION: "1_1_1b" POSTGRES_VERSION: "11_2" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 410d06c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -# Travis CI configuration file for psycopg2 - -language: python - -matrix: - include: - - python: 2.7 - - python: 3.8 - - python: 3.7 - - python: 3.6 - - python: 3.5 - - python: 3.4 - -install: - - pip install -U pip setuptools wheel - - pip install . - - rm -rf psycopg2.egg-info - - sudo scripts/travis_prepare.sh - -script: - - scripts/travis_test.sh - -notifications: - email: false diff --git a/scripts/appveyor.py b/scripts/appveyor.py index f5d8c46..23d268c 100755 --- a/scripts/appveyor.py +++ b/scripts/appveyor.py @@ -698,7 +698,7 @@ class Options: def py_ver(self): """The Python version to build as 2 digits string.""" rv = os.environ['PY_VER'] - assert rv in ('27', '34', '35', '36', '37'), rv + assert rv in ('27', '34', '35', '36', '37', '38'), rv return rv @property @@ -783,6 +783,7 @@ class Options: '35': '14.0', '36': '14.0', '37': '14.0', + '38': '14.0', } return vsvers[self.py_ver] -- cgit v1.2.1