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

.travis.yml

index de243b15bde5362266a856131699fa29884733a7..3de0b666e7d8b255dd5bf043a97ec204bb119fff 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