Skip to content

Commit

Permalink
Merge pull request #1485 from ColCarroll/global_env
Browse files Browse the repository at this point in the history
Add --global flag to create_testenv for docker build
  • Loading branch information
twiecki committed Oct 28, 2016
2 parents ed5245b + 5577f40 commit 1327069
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/create_testenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ set -e # fail on first error

PYTHON_VERSION=${PYTHON_VERSION:-3.5} # if no python specified, use 3.5

conda create -n testenv --yes pip python=${PYTHON_VERSION}

source activate testenv
if [[ "$*" != *--global* ]]
then
conda create -n testenv --yes pip python=${PYTHON_VERSION}
source activate testenv
fi

conda install --yes pyqt=4.11.4 jupyter pyzmq numpy scipy nose matplotlib pandas Cython patsy statsmodels joblib coverage
if [ ${PYTHON_VERSION} == "2.7" ]; then
Expand Down

0 comments on commit 1327069

Please sign in to comment.