aboutsummaryrefslogtreecommitdiff
path: root/travis.sh
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@gmail.com>2015-05-14 21:32:39 -0400
committerTamir Duberstein <tamird@gmail.com>2015-05-15 17:52:59 -0400
commitc91d9ab0fd346288b31914419cffaafc558fced3 (patch)
tree14f11cbbf611a55f8b66d3cf2cc937837c79b769 /travis.sh
parente54c14552f3bee973f515546b946169ec432295a (diff)
downloadprotobuf-c91d9ab0fd346288b31914419cffaafc558fced3.tar.gz
protobuf-c91d9ab0fd346288b31914419cffaafc558fced3.tar.bz2
protobuf-c91d9ab0fd346288b31914419cffaafc558fced3.zip
Allow tests to run on OS X
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/travis.sh b/travis.sh
index 0917904b..a7dbc840 100755
--- a/travis.sh
+++ b/travis.sh
@@ -102,7 +102,8 @@ build_python_cpp() {
./autogen.sh
./configure
make -j2
- export LD_LIBRARY_PATH=../src/.libs
+ export LD_LIBRARY_PATH=../src/.libs # for Linux
+ export DYLD_LIBRARY_PATH=../src/.libs # for OS X
cd python
python setup.py build --cpp_implementation
python setup.py test --cpp_implementation