From b9d301a69f88903b129758bb5296709487b38034 Mon Sep 17 00:00:00 2001 From: Dmitri Bogomolov <4glitch@gmail.com> Date: Wed, 19 Feb 2020 18:00:10 +0200 Subject: [PATCH] Try to test on windows: - install openssl manually from Bitmessage/ThirdPartyLibraries - add empty 'Windows' dict into checkdeps.EXTRAS_REQUIRE_DEPS - build ext - allow fail --- .travis.yml | 16 ++++++++++++++++ checkdeps.py | 1 + 2 files changed, 17 insertions(+) diff --git a/.travis.yml b/.travis.yml index a1a314d9..7a1fe1f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,22 @@ addons: - python-qt4 - tor - xvfb +jobs: + allow_failures: + - os: windows + include: + - os: windows + language: shell + before_install: + - choco install python2 + - choco install --ignore-dependencies vcpython27 + - python -m pip install --upgrade pip + - wget -c -nc -nv --content-disposition https://github.com/Bitmessage/ThirdPartyLibraries/blob/master/Win64OpenSSL-1_0_2t.exe?raw=true + - powershell -Command "Start-Process -FilePath Win64OpenSSL-1_0_2t.exe -ArgumentList '/q /norestart /silent /verysilent /sp- /suppressmsgboxes /dir=C:\OpenSSL-Win64' -Wait" + - python setup.py build_ext --inplace + env: + - PATH=/c/Python27:/c/Python27/Scripts:$PATH + - OPENSSL_DIR="c:\\OpenSSL-Win64" install: - pip install -r requirements.txt - python setup.py install diff --git a/checkdeps.py b/checkdeps.py index 66ce1a8f..9c9f258f 100755 --- a/checkdeps.py +++ b/checkdeps.py @@ -51,6 +51,7 @@ EXTRAS_REQUIRE_DEPS = { "Fedora": ["prctl"], "Guix": [""], "Gentoo": ["dev-python/python-prctl"], + "Windows": [""] }, }