Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caching setup env to speed up things #606

Merged
merged 2 commits into from
May 30, 2019
Merged
Changes from 1 commit
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
Prev Previous commit
using nightly so we can have py37
  • Loading branch information
doutriaux1 committed May 30, 2019
commit 142595c29cb2143cfd70d35b868d175888b5db52
20 changes: 10 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ aliases:
name: create_conda_env
environment:
PKGS: "vcs vcsaddons mesalib matplotlib scipy cia testsrunner 'proj4<5' 'vtk-cdat>8.1' libnetcdf=4.6.2"
CHANNELS: "-c cdat/label/v81 -c conda-forge -c pcmdi"
CHANNELS: "-c cdat/label/nightly -c conda-forge -c pcmdi"
command: |
if [ -d ${HOME}/miniconda ]; then
export PATH=$HOME/miniconda/bin:$PATH
Expand Down Expand Up @@ -67,7 +67,7 @@ aliases:
- &conda_upload
name: conda_upload
environment:
CHANNELS: "-c cdat-forge -c conda-forge -c cdat/label/v81 -c pcmdi"
CHANNELS: "-c cdat/label/nightly -c conda-forge -c pcmdi"
PKG_NAME: "pcmdi_metrics"
LABEL: "nightly"
command: |
Expand Down Expand Up @@ -104,10 +104,10 @@ jobs:
- checkout
- restore_cache:
keys:
- macos_py2
- macos_py2_2019-05-30
- run: *create_conda_env
- save_cache:
key: macos_py2
key: macos_py2_2019-05-30
paths: /Users/distiller/miniconda
- run: *setup_pmp
- run: *run_pmp_tests
Expand All @@ -132,10 +132,10 @@ jobs:
- checkout
- restore_cache:
keys:
- macos_py3
- macos_py3_2019-05-30
- run: *create_conda_env
- save_cache:
key: macos_py3
key: macos_py3_2019-05-30
paths: /Users/distiller/miniconda
- run: *setup_pmp
- run: *run_pmp_tests
Expand All @@ -159,10 +159,10 @@ jobs:
- checkout
- restore_cache:
keys:
- macos_py3
- linux_py2_2019-05-30
- run: *create_conda_env
- save_cache:
key: macos_py3
key: linux_py2_2019-05-30
paths: /Users/distiller/miniconda
- run: *setup_pmp
- run: *run_pmp_tests
Expand All @@ -187,10 +187,10 @@ jobs:
- checkout
- restore_cache:
keys:
- macos_py3
- linux_py3_2019-05-30
- run: *create_conda_env
- save_cache:
key: macos_py3
key: linux_py3_2019-05-30
paths: /Users/distiller/miniconda
- run: *setup_pmp
- run: *run_pmp_tests
Expand Down