From a90dfd15dc55373a23a0695a856e0f8e7490576e Mon Sep 17 00:00:00 2001 From: Zeshawn Shaheen Date: Tue, 14 Mar 2017 12:15:39 -0700 Subject: [PATCH] if statement for upload to anaconda back in --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e31fffc7f..13c130e49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,4 +26,4 @@ script: - python test/test_suite.py -V # --no-graphics after_success: - - conda install conda-build && conda install anaconda-client && bash conda-recipes/pcmdi_metrics/conda_upload.sh + - if [ "$TRAVIS_BRANCH" == "master" -a "$TRAVIS_PULL_REQUEST" == "false" ]; then conda install conda-build && conda install anaconda-client && bash conda-recipes/pcmdi_metrics/conda_upload.sh; fi