Manually set lib and include dirs on linux builds
This commit is contained in:
parent
a6ff56209d
commit
d926d0c6e5
|
|
@ -14,5 +14,8 @@ before_install:
|
|||
before_script:
|
||||
- ./openssl/test/test.sh
|
||||
script:
|
||||
- (cd openssl && LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH cargo test)
|
||||
- (test $TRAVIS_OS_NAME == "osx" || (cd openssl && LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH cargo test --features "$FEATURES"))
|
||||
- (test $TRAVIS_OS_NAME != "osx" || cd openssl && cargo test)
|
||||
- (test $TRAVIS_OS_NAME == "osx" || cd openssl && \
|
||||
OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH cargo test)
|
||||
- (test $TRAVIS_OS_NAME == "osx" || (cd openssl && \
|
||||
OPENSSL_LIB_DIR=/usr/lib OPENSSL_INCLUDE_DIR=/usr/include LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH cargo test --features "$FEATURES"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue