emacs-ipython-notebook/tools/install-virtualenv.sh
dickmao e491ac6f1c Ob-ein Improvements
Bring the org offering to feature parity.
2019-05-20 10:59:43 -04:00

25 lines
495 B
Bash

#!/bin/bash
# Create virtualenvs for python{2,3} for Travis CI on OSX
set -x
WORKDIR=${HOME}/local
. tools/retry.sh
if [ "x$TRAVIS_OS_NAME" = "xosx" ]; then
brew update
brew list pyenv-virtualenv || brew install pyenv-virtualenv
case "${TOXENV}" in
py27)
pyenv install -s 2.7.12
pyenv virtualenv -f 2.7.12 py27
;;
py35)
pyenv install -s 3.5.2
pyenv virtualenv -f 3.5.2 py35
;;
esac
fi