Skip to content

Commit 8c0e4de

Browse files
authored
set dylib path in travis
1 parent 63d657a commit 8c0e4de

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.travis.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ compiler:
66
- gcc
77
- clang
88
env:
9-
- DEBUG="debug" LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/lib"
10-
- DEBUG="nodebug" LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/lib"
11-
- LINKING="static" LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/lib"
9+
- DEBUG="debug"
10+
- DEBUG="nodebug"
11+
- LINKING="static"
1212
before_install:
13+
- export LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/lib"
14+
- export PATH=$PATH:/usr/local/lib
15+
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
16+
- export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/lib
1317
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install info install-info; fi
1418
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo pip install cpp-coveralls; fi
1519
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo pip install gcovr; fi

0 commit comments

Comments
 (0)