]> granicus.if.org Git - python/commitdiff
[3.6] Install dependencies in Travis OSX build (GH-1952)
authorZachary Ware <zachary.ware@gmail.com>
Tue, 6 Jun 2017 03:41:17 +0000 (22:41 -0500)
committerGitHub <noreply@github.com>
Tue, 6 Jun 2017 03:41:17 +0000 (22:41 -0500)
(cherry picked from commit 167e0fc211c06df)

.travis.yml

index cb33e9b61e86316faf9752d8b1dbb09cad1066de..2b4556fc6fc46284e34d845f2e030f476ac10664 100644 (file)
@@ -28,6 +28,10 @@ matrix:
       compiler: clang
       # Testing under macOS is optional until testing stability has been demonstrated.
       env: OPTIONAL=true
+      before_install:
+        - brew install openssl xz
+        - export CPPFLAGS="-I$(brew --prefix openssl)/include"
+        - export LDFLAGS="-L$(brew --prefix openssl)/lib"
     - os: linux
       language: python
       python: 3.6