Skip to content

Commit

Permalink
Use py executable in appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Oct 5, 2024
1 parent a59079a commit 26f0f13
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
13 changes: 5 additions & 8 deletions .appveyor/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ environment:
# Select according to the service enabled
POSTGRES_DIR: C:\Program Files\PostgreSQL\9.6\

# The python used in the build process, not the one packages are built for
PYEXE: C:\Python36\python.exe

matrix:
fast_finish: false

Expand All @@ -64,23 +61,23 @@ cache:
# Repository gets cloned, Cache is restored

install:
- "%PYEXE% scripts\\build\\appveyor.py install"
- "py scripts\\build\\appveyor.py install"

# PostgreSQL server starts now

build: "off"

build_script:
- "%PYEXE% scripts\\build\\appveyor.py build_script"
- "py scripts\\build\\appveyor.py build_script"

after_build:
- "%PYEXE% scripts\\build\\appveyor.py after_build"
- "py scripts\\build\\appveyor.py after_build"

before_test:
- "%PYEXE% scripts\\build\\appveyor.py before_test"
- "py scripts\\build\\appveyor.py before_test"

test_script:
- "%PYEXE% scripts\\build\\appveyor.py test_script"
- "py scripts\\build\\appveyor.py test_script"

artifacts:
- path: dist\psycopg2-*\*.whl
Expand Down
13 changes: 5 additions & 8 deletions .appveyor/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ environment:
# Select according to the service enabled
POSTGRES_DIR: C:\Program Files\PostgreSQL\9.6\

# The python used in the build process, not the one packages are built for
PYEXE: C:\Python36\python.exe

matrix:
fast_finish: false

Expand All @@ -59,23 +56,23 @@ cache:
# Repository gets cloned, Cache is restored

install:
- "%PYEXE% scripts\\build\\appveyor.py install"
- py scripts\\build\\appveyor.py install"

# PostgreSQL server starts now

build: "off"

build_script:
- "%PYEXE% scripts\\build\\appveyor.py build_script"
- py scripts\\build\\appveyor.py build_script"

after_build:
- "%PYEXE% scripts\\build\\appveyor.py after_build"
- py scripts\\build\\appveyor.py after_build"

before_test:
- "%PYEXE% scripts\\build\\appveyor.py before_test"
- py scripts\\build\\appveyor.py before_test"

test_script:
- "%PYEXE% scripts\\build\\appveyor.py test_script"
- py scripts\\build\\appveyor.py test_script"


# vim: set ts=4 sts=4 sw=4:

0 comments on commit 26f0f13

Please sign in to comment.