Skip to content

Commit b505f47

Browse files
authored
Merge pull request #2229 from ColCarroll/update_create_testenv
Update create testenv
2 parents 73694ef + 0f7f6b5 commit b505f47

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

scripts/create_testenv.sh

+12-8
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,22 @@ then
3333
source activate ${ENVNAME}
3434
fi
3535
fi
36+
conda install --yes numpy scipy mkl-service
3637

37-
pip install jupyter
38-
conda install --yes matplotlib --channel conda-forge
39-
conda install --yes numpy scipy pytest pytest-cov pandas patsy joblib mkl-service
38+
pip install --upgrade pip
39+
40+
# Install editable using the setup.py
41+
pip install -e .
42+
43+
# Install extra testing stuff
4044
if [ ${PYTHON_VERSION} == "2.7" ]; then
41-
conda install --yes mock enum34;
45+
pip install mock
4246
fi
4347

44-
pip install --upgrade pip
45-
pip install --no-deps numdifftools
46-
pip install git+https://github.com/Theano/Theano.git
47-
pip install tqdm h5py nose-parameterized==0.6.0
48+
pip install pytest pytest-cov nose-parameterized pylint
49+
50+
# Install untested, non-required code (linter fails without them)
51+
pip install ipython ipywidgets numdifftools
4852

4953
if [ -z ${NO_SETUP} ]; then
5054
python setup.py build_ext --inplace

0 commit comments

Comments
 (0)