summaryrefslogtreecommitdiff
path: root/.travis/before_install.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/before_install.sh')
-rwxr-xr-x.travis/before_install.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis/before_install.sh b/.travis/before_install.sh
new file mode 100755
index 0000000..0ae6249
--- /dev/null
+++ b/.travis/before_install.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
+
+ # Install some custom requirements on OS X
+ # e.g. brew install pyenv-virtualenv
+ #brew update
+ #brew install python
+ sudo easy_install -U pip
+
+else
+ # Install some custom requirements on Linux
+ sudo apt-get update -q
+ sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev
+fi