[Appveyor] Remove PyGTK and disable win32 packaging

This commit is contained in:
Calum Lind 2018-10-21 19:05:10 +01:00
parent bffd091429
commit bff93bb162
1 changed files with 10 additions and 18 deletions

View File

@ -5,7 +5,6 @@ environment:
matrix: matrix:
- TOXENV: py27 - TOXENV: py27
- TOXENV: pygtkui
- PYTHON_VERSION: "2.7.x" - PYTHON_VERSION: "2.7.x"
pull_requests: pull_requests:
@ -35,13 +34,6 @@ install:
pefile pefile
) )
- echo "Installing pygtk...."
- if not exist pygtk-all-in-one-2.24.2.win32-py2.7.msi (
echo "Downloading pygtk...."
& appveyor-retry appveyor DownloadFile "https://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/pygtk-all-in-one-2.24.2.win32-py2.7.msi"
)
- cmd: msiexec /i pygtk-all-in-one-2.24.2.win32-py2.7.msi /quiet /qn /norestart TARGETDIR=C:\Python27 INSTALLLEVEL=3
- echo "Installing openssl...." - echo "Installing openssl...."
- if not exist openssl-1.1.0f-vs2008.7z ( - if not exist openssl-1.1.0f-vs2008.7z (
echo "Downloading openssl...." echo "Downloading openssl...."
@ -66,7 +58,6 @@ install:
- openssl version -v - openssl version -v
cache: cache:
- pygtk-all-in-one-2.24.2.win32-py2.7.msi
- openssl-1.1.0f-vs2008.7z - openssl-1.1.0f-vs2008.7z
- '%LOCALAPPDATA%\pip\cache' - '%LOCALAPPDATA%\pip\cache'
- libtorrent.pyd - libtorrent.pyd
@ -76,16 +67,17 @@ build: false
test_script: test_script:
- if defined TOXENV tox - if defined TOXENV tox
after_test: # Commented out as require GTK3 to create package.
- if not defined TOXENV python setup.py build && python setup.py install # after_test:
- cd %APPVEYOR_BUILD_FOLDER%\\packaging\\win32 # - if not defined TOXENV python setup.py build && python setup.py install
- if not defined TOXENV deluge-bbfreeze.py debug # - cd %APPVEYOR_BUILD_FOLDER%\\packaging\\win32
- if not defined TOXENV makensis deluge-win32-installer.nsi # - if not defined TOXENV deluge-bbfreeze.py debug
- if not defined TOXENV 7z a deluge-win32.zip build-win32 "-x!*.exe" # - if not defined TOXENV makensis deluge-win32-installer.nsi
# - if not defined TOXENV 7z a deluge-win32.zip build-win32 "-x!*.exe"
artifacts: # artifacts:
- path: packaging\win32\deluge-win32.zip # - path: packaging\win32\deluge-win32.zip
- path: packaging\win32\build-win32\*.exe # - path: packaging\win32\build-win32\*.exe
#on_success: #on_success:
# #