]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Add Windows to the build matrix (#457)
authorCan Sarıgöl <cansarigol@derinbilgi.com.tr>
Wed, 9 Oct 2019 21:22:18 +0000 (00:22 +0300)
committerFlorimond Manca <florimond.manca@gmail.com>
Wed, 9 Oct 2019 21:22:18 +0000 (23:22 +0200)
* Added win32 to the build matrix

* removed os: linux due to travis default

* chopped empty line

* applied only python 3.7 tests on Windows

* added desc for windows allow failures

* removed duplicate desc

.travis.yml

index 550e55df93b79076ce561d19c0500efc303598aa..81f82aba68bf39cfeb7f3e0a02da48b7715bb069 100644 (file)
@@ -22,10 +22,23 @@ matrix:
       env: NOX_SESSION=test-3.8
       dist: bionic # Required to get OpenSSL 1.1.1+
 
-  # Allow builds to fail when using '-dev' Python versions
-  # Should still investigate failures periodically for new APIs.
+    - os: windows
+      language: shell
+      python: 3.7
+      env:
+        PATH=/c/Python37:/c/Python37/Scripts:$PATH
+        NOX_SESSION=test-3.7
+      before_install:
+        - choco install python --version 3.7
+        - python -m pip install --upgrade pip
+
   fast_finish: true
   allow_failures:
+    # FIX
+    # Some tests not yet resolved for Windows. (In progress)
+    - os: windows
+    # Allow builds to fail when using '-dev' Python versions.
+    # We should still investigate failures periodically for new APIs.
     - python: 3.8-dev
 
 install: