Skip to content

Commit

Permalink
Try fix darwin travis build seanmonstar#4
Browse files Browse the repository at this point in the history
  • Loading branch information
aagahi committed Dec 25, 2016
1 parent f042aab commit 10cf7ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ rust:
- nightly

install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install openssl; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew link openssl --force; fi
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install openssl --force; fi


# load travis-cargo
Expand All @@ -29,6 +28,10 @@ before_script:
export PATH=$HOME/.local/bin:$PATH
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
- cargo doc --no-deps
Expand Down

0 comments on commit 10cf7ba

Please sign in to comment.