Skip to content

Commit

Permalink
Try fix darwin travis build seanmonstar#6
Browse files Browse the repository at this point in the history
  • Loading branch information
aagahi committed Dec 25, 2016
1 parent 019d0f0 commit ffa0569
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ rust:
- beta
- nightly

install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install openssl --force; fi
matrix:
include:
- os: osx
before_install:
- export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
- export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib

script:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LIBRARY_PATH="$LIBRARY_PATH:/usr/local/lib" ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib ; fi

- cargo test
# - rustdoc --test Readme.md -L target/debug/deps -L target/debug
Expand Down

0 comments on commit ffa0569

Please # to comment.