diff options
author | Rémi Flamary <remi.flamary@gmail.com> | 2017-07-07 11:09:12 +0200 |
---|---|---|
committer | Rémi Flamary <remi.flamary@gmail.com> | 2017-07-07 11:09:12 +0200 |
commit | d361e3f6b177506a54ce1e928a03d763ae59de98 (patch) | |
tree | 6767e2f689738c0b453e11a602d816e0f16f1ff8 /.travis/before_install.sh | |
parent | 6fe6020a336abf731defb75c3c908814429ad98c (diff) |
add before install script
Diffstat (limited to '.travis/before_install.sh')
-rw-r--r-- | .travis/before_install.sh | 15 |
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 |