diff options
author | Elvis Pranskevichus <elvis@magic.io> | 2018-03-30 19:47:52 -0400 |
---|---|---|
committer | Elvis Pranskevichus <elvis@magic.io> | 2018-03-30 20:50:17 -0400 |
commit | a1b19e1d10896f3ac2ce0b97c2bf24e0c1c4520f (patch) | |
tree | 283ca8f24adc74d1092cf24b7bd66174a0014b51 /.ci/travis-install.sh | |
parent | 0e715340a78863d973302981ab98b232d6f51735 (diff) | |
download | immutables-a1b19e1d10896f3ac2ce0b97c2bf24e0c1c4520f.tar.gz immutables-a1b19e1d10896f3ac2ce0b97c2bf24e0c1c4520f.zip |
CI integration
Diffstat (limited to '.ci/travis-install.sh')
-rwxr-xr-x | .ci/travis-install.sh | 13 |
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 |