summaryrefslogtreecommitdiff
path: root/.travis
diff options
context:
space:
mode:
authorRémi Flamary <remi.flamary@gmail.com>2017-07-07 11:09:12 +0200
committerRémi Flamary <remi.flamary@gmail.com>2017-07-07 11:09:12 +0200
commitd361e3f6b177506a54ce1e928a03d763ae59de98 (patch)
tree6767e2f689738c0b453e11a602d816e0f16f1ff8 /.travis
parent6fe6020a336abf731defb75c3c908814429ad98c (diff)
add before install script
Diffstat (limited to '.travis')
-rw-r--r--.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 100644
index 0000000..cfa3fdc
--- /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
+
+
+else
+ # Install some custom requirements on Linux
+ sudo apt-get update -q
+ sudo apt-get install libblas-dev liblapack-dev libatlas-base-dev
+fi