Skip to content

Commit

Permalink
Clean out cache and reinstall packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
shyuep committed Sep 12, 2019
1 parent a1b004d commit 2131875
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ jobs:
- checkout
- restore_cache:
keys:
- pmg-v2-deps-{{ checksum "requirements.txt" }}-{{ checksum "requirements-optional.txt" }}
- pmg-v3-deps-{{ checksum "requirements.txt" }}-{{ checksum "requirements-optional.txt" }}
- run:
command: |
export PATH=$HOME/miniconda3/bin:$PATH
conda config --set always_yes yes --set changeps1 no
conda config --system --add channels conda-forge
conda config --system --add channels openbabel
if [ -e $HOME/miniconda3/envs/test-environment ]; then
echo "Conda env already present from the cache."
else
conda update -q conda
conda create -q -n test-environment python=3.7 numpy scipy matplotlib sympy cython pandas networkx pytest cmake h5py
conda create -q -n test-environment python=3.7 numpy scipy matplotlib sympy cython pandas networkx pytest pip cmake h5py openbabel python-igraph
fi
conda config --set always_yes yes --set changeps1 no
conda config --system --add channels conda-forge
conda config --system --add channels openbabel
source activate test-environment
conda update --quiet numpy scipy matplotlib sympy cython pandas networkx pytest pip cmake h5py openbabel python-igraph
# conda install --quiet -c clinicalgraphics vtk
Expand All @@ -32,7 +32,7 @@ jobs:
pip install --quiet BoltzTraP2
export CFLAGS=${CFLAGS%% -std=gnu++11}
- save_cache:
key: pmg-v2-deps-{{ checksum "requirements.txt" }}-{{ checksum "requirements-optional.txt" }}
key: pmg-v3-deps-{{ checksum "requirements.txt" }}-{{ checksum "requirements-optional.txt" }}
paths:
- /root/miniconda3/envs/test-environment
- run:
Expand Down

0 comments on commit 2131875

Please sign in to comment.