@@ -5,6 +5,7 @@ environment:
55 # See: http://stackoverflow.com/a/13751649/163740
66 CMD_IN_ENV : " cmd /E:ON /V:ON /C %APPVEYOR_BUILD_FOLDER%\\ ci\\ appveyor\\ run_with_env.cmd"
77 PYTHONUNBUFFERED : 1
8+ OPENSSL_VER : 1.0.2l
89 PYPI_USER :
910 secure : 2m0jy6JD/R9RExIosOT6YA==
1011 PYPI_PASS :
@@ -14,41 +15,49 @@ environment:
1415 PYTHON_VERSION : " 2.7"
1516 PYTHON_ARCH : " 32"
1617 MSVC : " Visual Studio 9"
18+ ARCH : i386
1719
1820 - PYTHON : " C:\\ Python27-x64"
1921 PYTHON_VERSION : " 2.7"
2022 PYTHON_ARCH : " 64"
2123 MSVC : " Visual Studio 9"
24+ ARCH : x64_86
2225
2326 - PYTHON : " C:\\ Python34"
2427 PYTHON_VERSION : " 3.4"
2528 PYTHON_ARCH : " 32"
2629 MSVC : " Visual Studio 10"
30+ ARCH : i386
2731
2832 - PYTHON : " C:\\ Python34-x64"
2933 PYTHON_VERSION : " 3.4"
3034 PYTHON_ARCH : " 64"
3135 MSVC : " Visual Studio 10 Win64"
36+ ARCH : x64_86
3237
3338 - PYTHON : " C:\\ Python35"
3439 PYTHON_VERSION : " 3.5"
3540 PYTHON_ARCH : " 32"
3641 MSVC : " Visual Studio 14"
42+ ARCH : i386
3743
3844 - PYTHON : " C:\\ Python35-x64"
3945 PYTHON_VERSION : " 3.5"
4046 PYTHON_ARCH : " 64"
4147 MSVC : " Visual Studio 14 Win64"
48+ ARCH : x64_86
4249
4350 - PYTHON : " C:\\ Python36"
4451 PYTHON_VERSION : " 3.6"
4552 PYTHON_ARCH : " 32"
4653 MSVC : " Visual Studio 14"
54+ ARCH : i386
4755
4856 - PYTHON : " C:\\ Python36-x64"
4957 PYTHON_VERSION : " 3.6"
5058 PYTHON_ARCH : " 64"
5159 MSVC : " Visual Studio 14 Win64"
60+ ARCH : x64_86
5261
5362install :
5463 # If there is a newer build queued for the same PR, cancel this one.
@@ -72,25 +81,26 @@ install:
7281 - " python --version"
7382 - " python -c \" import struct; print(struct.calcsize('P') * 8)\" "
7483
75- # Upgrade to the latest version of pip to avoid it displaying warnings
76- # about it being out of date.
77- - " pip install --disable-pip-version-check --user --upgrade pip"
84+ # - "pip install --disable-pip-version-check --user --upgrade pip"
7885
7986 - git submodule update --init --recursive
80- - " %CMD_IN_ENV% ci\\ appveyor\\ build_ssh2.bat"
81- # Install the build dependencies of the project. If some dependencies contain
82- # compiled extensions and are not provided as pre-built wheel packages,
83- # pip will build them from source using the MSVC compiler matching the
84- # target Python version and architecture
87+ - appveyor DownloadFile http://zlib.net/zlib1211.zip
88+ - 7z x zlib1211.zip
89+ - appveyor DownloadFile https://indy.fulgan.com/SSL/openssl-%OPENSSL_VER%-%ARCH%-win%PYTHON_ARCH%.zip
90+ - 7z x openssl-%OPENSSL_VER%-%ARCH%-win%PYTHON_ARCH%.zip
91+ - cp ssleay32.dll pssh\native\
92+ - cp libeay32.dll pssh\native\
93+ - ps : ls pssh\native
8594 - " %CMD_IN_ENV% pip install -r requirements.txt"
8695 - " %CMD_IN_ENV% pip install -U wheel setuptools twine"
8796
8897build_script :
89- # Build the compiled extension
98+ - " %CMD_IN_ENV% ci\\ appveyor\\ build_zlib.bat"
99+ - " %CMD_IN_ENV% ci\\ appveyor\\ build_ssh2.bat"
90100 - " %CMD_IN_ENV% python setup.py build_ext -i"
91101
92102test_script :
93- - python -c "import pssh.pssh2_client "
103+ - python -c "import pssh.clients "
94104
95105after_test :
96106 # If tests are successful, create binary packages for the project.
@@ -102,4 +112,4 @@ artifacts:
102112 - path : " *.whl"
103113
104114deploy_script :
105- - python ci/appveyor/pypi_upload.py *.whl
115+ - IF "%APPVEYOR_REPO_TAG%" == "true"( python ci/appveyor/pypi_upload.py *.whl )
0 commit comments