Skip to content

Commit 1c4ea5f

Browse files
authored
Merge pull request #24 from UV-CDAT/cdat_nightlies_pulled
bringing in nightlies from cdat
2 parents 77d37fb + 009f628 commit 1c4ea5f

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ python:
99
sudo: false
1010

1111
before_install:
12-
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then wget https://repo.continuum.io/miniconda/Miniconda2-4.3.21-Linux-x86_64.sh -O miniconda.sh; fi
12+
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; fi
1313
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -O miniconda.sh; fi
1414
- export PATH="$HOME/miniconda/bin:$PATH"
1515
- bash miniconda.sh -b -p $HOME/miniconda
@@ -18,7 +18,7 @@ before_install:
1818
#- conda install gcc
1919
script:
2020
# =======
21-
- conda create -n py2 -c uvcdat/label/nightly -c conda-forge genutil nose flake8 "numpy=1.13"
21+
- conda create -n py2 -c cdat/label/nightly -c uvcdat/label/nightly -c nesii/label/dev-esmf -c conda-forge genutil nose flake8 "numpy=1.13" esmpy
2222
- export UVCDAT_ANONYMOUS_LOG=False
2323
- echo $TRAVIS_BRANCH
2424
- export TRAVIS_PR_BRANCH=$TRAVIS_BRANCH
@@ -28,8 +28,7 @@ script:
2828
- python setup.py install
2929
- python run_tests.py -v2
3030
- rm -rf build
31-
# netcdf-fortran 4.4.4=6 (3 is no longer avail)
32-
- conda create -n py3 -c uvcdat/label/nightly -c conda-forge -c nesii/channel/dev-esmf genutil nose flake8 "python>3" "numpy=1.13"
31+
- conda create -n py3 -c cdat/label/nightly -c uvcdat/label/nightly -c conda-forge -c nesii/channel/dev-esmf genutil nose flake8 "python>3" "numpy=1.13" esmpy
3332
- source activate py3
3433
- python setup.py install
3534
- python run_tests.py -v2

ci-support/circleci_mac_dep.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
ls
33
pwd
44
export PATH=${HOME}/miniconda/bin:${PATH}
5-
conda create -n py3 -c nesii/label/dev-esmf -c uvcdat/label/nightly -c conda-forge genutil nose flake8 "python>3" "numpy=1.13"
6-
conda create -n py2 -c nesii/label/dev-esmf -c uvcdat/label/nightly -c conda-forge genutil nose flake8 "numpy=1.13"
5+
conda create -n py3 -c nesii/label/dev-esmf -c cdat/label/nightly -c uvcdat/label/nightly -c conda-forge genutil nose flake8 "python>3" "numpy=1.13"
6+
conda create -n py2 -c nesii/label/dev-esmf -c cdat/label/nightly -c uvcdat/label/nightly -c conda-forge genutil nose flake8 "numpy=1.13"
77
export UVCDAT_ANONYMOUS_LOG=False
88
source activate py3
99
python setup.py install

ci-support/conda_upload.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
PKG_NAME=cdutil
3-
USER=uvcdat
3+
USER=cdat
44
VERSION="2.12"
55
export PATH="$HOME/miniconda/bin:$PATH"
66
echo "Trying to upload conda"
@@ -26,6 +26,6 @@ cd conda-recipes
2626
rm -rf uvcdat
2727
python ./prep_for_build.py
2828
echo "Building and uploading now"
29-
conda build -c uvcdat/label/nightly -c conda-forge -c ${ESMF_CHANNEL} -c uvcdat ${PKG_NAME} --python=2.7
30-
conda build -c uvcdat/label/nightly -c conda-forge -c ${ESMF_CHANNEL} -c uvcdat ${PKG_NAME} --python=3.6
29+
conda build -c cdat/label/nightly -c uvcdat/label/nightly -c conda-forge -c ${ESMF_CHANNEL} -c uvcdat ${PKG_NAME} --python=2.7
30+
conda build -c cdat/label/nightly -c uvcdat/label/nightly -c conda-forge -c ${ESMF_CHANNEL} -c uvcdat ${PKG_NAME} --python=3.6
3131
anaconda -t $CONDA_UPLOAD_TOKEN upload -u $USER -l nightly $CONDA_BLD_PATH/$OS/$PKG_NAME-${VERSION}.$(date +%Y.%m.%d)*_0.tar.bz2 --force

tests/test_cdutil_VariableMatcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ def testVariableMatcher2(self):
7878
FG.latitude.first=-85.
7979
FG.latitude.delta=10.
8080
# Now creates the compare object
81+
print("REF:",Ref())
8182
c=cdutil.VariablesMatcher(Ref, Tst, weightedGridMaker=FG, externalVariableConditioner=EV)
8283
# And gets it
8384
(ref, reffrc), (test, tfrc) = c()

0 commit comments

Comments
 (0)