summaryrefslogtreecommitdiff
path: root/.ci/travis-install.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/travis-install.sh')
-rwxr-xr-x.ci/travis-install.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/.ci/travis-install.sh b/.ci/travis-install.sh
new file mode 100755
index 0000000..e9715ee
--- /dev/null
+++ b/.ci/travis-install.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e -x
+
+if [ "${TRAVIS_OS_NAME}" == "osx" ]; then
+ PYENV_ROOT="$HOME/.pyenv"
+ PATH="$PYENV_ROOT/bin:$PATH"
+ eval "$(pyenv init -)"
+fi
+
+pip install --upgrade pip wheel
+pip install --upgrade setuptools
+pip install --upgrade -r .ci/requirements.txt