summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2015-12-30 16:37:41 -0500
committerGravatar Jason Gross <jgross@mit.edu>2015-12-30 16:37:41 -0500
commit14c6f08c58238b52253a6292d830ef78f6296ab4 (patch)
tree5fc3250f7f22eb64f6f1c7b7070c5eb96b2c6b89 /.travis.yml
parentae6d0cd9afb9e530ac75915875d16875a6392a41 (diff)
Pass --with-openssl to make use of brew's openssl on OSX
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index a93f8c7a..ead1ad85 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,10 +16,12 @@ compiler:
# - mlton
before_install:
+ - export CONFIGURE_ARGS=""
- if command -v apt-get &>/dev/null; then sudo apt-get update -qq; fi
- if command -v apt-get &>/dev/null; then sudo apt-get install -y mlton; fi
- if command -v brew &>/dev/null; then brew update; fi
- if command -v brew &>/dev/null; then brew tap homebrew/boneyard; fi
- if command -v brew &>/dev/null; then brew install openssl mlton; fi
+ - if command -v brew &>/dev/null; then export CONFIGURE_ARGS="--with-openssl=/usr/local/opt/openssl"; fi
-script: ./autogen.sh && ./configure && make && make test
+script: ./autogen.sh && ./configure $CONFIGURE_ARGS && make && make test