forked from CDAT/acme_diags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
20 lines (18 loc) · 988 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
machine:
environment:
PATH: ${HOME}/miniconda/bin:${PATH}
pre:
- curl https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -o miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- ${HOME}/miniconda/bin/conda config --set always_yes yes --set changeps1 no
- ${HOME}/miniconda/bin/conda update -q conda
- ${HOME}/miniconda/bin/conda config --set anaconda_upload no
- sudo -H pip install --upgrade virtualenv
dependencies:
override:
- ${HOME}/miniconda/bin/conda install python=2.7.13 cdms2 cdp cdutil genutil beautifulsoup4 -c conda-forge -c uvcdat -y
- ${HOME}/miniconda/bin/python setup.py install
test:
override:
- PATH=${HOME}/miniconda/bin:${PATH} UVCDAT_ANONYMOUS_LOG=False bash ./tests/test.sh
- if [ $? == 0 -a $CIRCLE_BRANCH == "master" ]; then TRAVIS_OS_NAME=osx PATH=${HOME}/miniconda/bin:${PATH} conda install conda-build && conda install anaconda-client && cd conda && bash nightly_conda_upload.sh; fi