Skip to content

Commit a92ce54

Browse files
committed
Update testenv based on yml file on travis
1 parent 839407b commit a92ce54

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/create_testenv.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ ENVNAME="${ENVNAME:-testenv}" # if no ENVNAME is specified, use testenv
2424
if [ -z ${GLOBAL} ]; then
2525
if conda env list | grep -q ${ENVNAME}; then
2626
echo "Environment ${ENVNAME} already exists, keeping up to date"
27+
source activate ${ENVNAME}
28+
mamba env update -f environment-dev.yml
2729
else
2830
conda config --add channels conda-forge
2931
conda config --set channel_priority strict
3032
conda install -c conda-forge mamba --yes
3133
mamba env create -f environment-dev.yml
34+
source activate ${ENVNAME}
3235
fi
33-
source activate ${ENVNAME}
3436
fi
3537

3638
# Install editable using the setup.py

0 commit comments

Comments
 (0)