Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ install:
# Do not buffer python outputs; flush them directly to the terminal
- export PYTHONUNBUFFERED=true
# Sets up a miniconda environment
- source devtools/ci/install.sh
- source devtools/ci/miniconda_install.sh
- conda install --yes conda-build
- conda build --quiet devtools/conda-recipe
- conda create --quiet --yes --name test --use-local openpathsampling-dev
Expand Down
4 changes: 3 additions & 1 deletion devtools/ci/install.sh → devtools/ci/miniconda_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ then
fi

pyV=${CONDA_PY:0:1}
conda_version="latest"
#conda_version="4.4.10" # can pin a miniconda version like this, if needed

MINICONDA=Miniconda${pyV}-latest-Linux-x86_64.sh
MINICONDA=Miniconda${pyV}-${conda_version}-Linux-x86_64.sh
MINICONDA_MD5=$(curl -s https://repo.continuum.io/miniconda/ | grep -A3 $MINICONDA | sed -n '4p' | sed -n 's/ *<td>\(.*\)<\/td> */\1/p')
wget https://repo.continuum.io/miniconda/$MINICONDA
if [[ $MINICONDA_MD5 != $(md5sum $MINICONDA | cut -d ' ' -f 1) ]]; then
Expand Down