[3.6] Install dependencies in Travis OSX build (GH-1952)
(cherry picked from commit 167e0fc211c06df)
diff --git a/.travis.yml b/.travis.yml
index cb33e9b..2b4556f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,6 +28,10 @@
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