Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
WIP #59 travis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjabear committed Oct 10, 2016
1 parent 206a3ef commit d8033a3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ os:
matrix:
allow_failures:
- rust: nightly
script: build.sh
deploy:
provider: script
script: cargo run --quiet -- run deploy/deploy.factfile
Expand Down
13 changes: 13 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
echo "Installing openssl for OSX..."
brew install openssl
export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib
echo "done!"
fi

cargo test --verbose


9 changes: 1 addition & 8 deletions deploy/tasks/provision.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
#!/bin/bash -e

pip install --user --upgrade pip
pip install --user release-manager==0.1.0rc3

if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
brew install openssl
export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib
fi

pip install --user release-manager==0.1.0rc3

0 comments on commit d8033a3

Please sign in to comment.