Skip to content

Commit

Permalink
[AppVeyor] Check Python versions and architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Feb 3, 2020
1 parent 280be9e commit 2e02bf6
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,11 @@ for:
- echo CREATE USER harmonbot SUPERUSER PASSWORD :'pgpassword' | psql --variable=pgpassword="%PGPASSWORD%"
-
matrix:
only:
- image: Ubuntu
stack: PostgreSQL 12.1, Python 3.8.1
build_script:
- sudo --user=postgres createdb harmonbot
- sudo --user=postgres psql --variable=pgpassword="$PGPASSWORD" <<< "CREATE USER harmonbot SUPERUSER PASSWORD :'pgpassword'"
-
matrix:
only:
- image: macos
stack: Python 3.8.1
except:
- image: Visual Studio 2019
build_script:
- sudo --user=postgres createdb harmonbot
- sudo --user=postgres psql --variable=pgpassword="$PGPASSWORD" <<< "CREATE USER harmonbot SUPERUSER PASSWORD :'pgpassword'"

image:
- Visual Studio 2019
Expand All @@ -42,6 +36,8 @@ environment:
PYTHON_VERSION: 3.8.1
PYTHON_ARCH: 64

stack: PostgreSQL 12.1, Python 3.8.1

cache:
- '%LOCALAPPDATA%\pip\Cache'

Expand All @@ -50,6 +46,9 @@ cache:
# https://github.com/appveyor/ci/issues/3299

install:
- python --version
- python -c "import sys, platform, struct;
print(sys.platform, platform.machine(), struct.calcsize('P')*8)"
- pip install --upgrade --requirement requirements.txt

test_script:
Expand Down

0 comments on commit 2e02bf6

Please sign in to comment.