Skip to content

Commit

Permalink
rename the BINDING environment variable to QT_API
Browse files Browse the repository at this point in the history
  • Loading branch information
jborbely committed Jan 14, 2021
1 parent d0e2dd0 commit 10bfc75
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 29 deletions.
29 changes: 14 additions & 15 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,44 @@ image: Visual Studio 2019
environment:
matrix:
- PYTHON: C:\Python35
BINDING: PyQt5
QT_API: PyQt5
- PYTHON: C:\Python35-x64
BINDING: PySide2
QT_API: PySide2
- PYTHON: C:\Python36
BINDING: PyQt6
QT_API: PyQt6
- PYTHON: C:\Python36-x64
BINDING: PySide6
QT_API: PySide6
- PYTHON: C:\Python37
BINDING: PyQt6
QT_API: PyQt6
- PYTHON: C:\Python37-x64
BINDING: PySide6
QT_API: PySide6
- PYTHON: C:\Python38
BINDING: PyQt6
QT_API: PyQt6
- PYTHON: C:\Python38-x64
BINDING: PySide6
QT_API: PySide6
- PYTHON: C:\Python39
QT_API: PySide6
CLONE_PYTHONNET: "true"
- PYTHON: C:\Python39-x64
QT_API: PySide6
CLONE_PYTHONNET: "true"
- PYTHON: C:\Python39-x64
QT_API: PyQt6
CLONE_PYTHONNET: "true"
BINDING: PySide6
- PYTHON: C:\Python39-x64
QT_API: PySide2
CLONE_PYTHONNET: "true"
BINDING: PyQt6
- PYTHON: C:\Python39-x64
QT_API: PyQt5
CLONE_PYTHONNET: "true"
BINDING: PySide2
- PYTHON: C:\Python39-x64
CLONE_PYTHONNET: "true"
BINDING: PyQt5

install:
- set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
- python --version
- python -m pip install --upgrade pip
- python -m pip install --upgrade setuptools wheel
- python -m pip install --upgrade pytest pytest-cov pytest-runner
- python -m pip install %BINDING%
- python -m pip install %QT_API%
- IF "%CLONE_PYTHONNET%"=="true" (
python -m pip install --upgrade pycparser &&
python -m pip install git+https://github.com/pythonnet/pythonnet.git
Expand Down
28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,43 +9,43 @@ jobs:
include:
- os: linux
python: 3.5
env: BINDING=PySide2
env: QT_API=PySide2
- os: linux
python: 3.6
env: BINDING=PySide6
env: QT_API=PySide6
- os: linux
python: 3.7
env: BINDING=PySide6
env: QT_API=PySide6
- os: linux
python: 3.8
env: BINDING=PySide6
env: QT_API=PySide6
- os: linux
python: 3.9
env: BINDING=PySide6
env: QT_API=PySide6
- os: linux
python: 3.9
env: BINDING=PySide2
env: QT_API=PySide2
- os: linux
python: 3.9
env: BINDING=PyQt6
env: QT_API=PyQt6
- os: linux
python: 3.9
env: BINDING=PyQt5
env: QT_API=PyQt5
- os: osx
language: shell
env: PYTHON=3.5.10 BINDING=PySide2
env: PYTHON=3.5.10 QT_API=PySide2
- os: osx
language: shell
env: PYTHON=3.6.12 BINDING=PySide6
env: PYTHON=3.6.12 QT_API=PySide6
- os: osx
language: shell
env: PYTHON=3.7.9 BINDING=PySide6
env: PYTHON=3.7.9 QT_API=PySide6
- os: osx
language: shell
env: PYTHON=3.8.6 BINDING=PySide6
env: PYTHON=3.8.6 QT_API=PySide6
- os: osx
language: shell
env: PYTHON=3.9.0 BINDING=PySide6
env: PYTHON=3.9.0 QT_API=PySide6

before_install:
- |
Expand Down Expand Up @@ -74,7 +74,7 @@ install:
- python -m pip install --upgrade pip
- python -m pip install --upgrade setuptools wheel
- python -m pip install --upgrade pytest pytest-cov pytest-runner
- python -m pip install --upgrade $BINDING
- python -m pip install --upgrade $QT_API
- python -m pip list

before_script:
Expand Down

0 comments on commit 10bfc75

Please sign in to comment.