From 58a0783a5c3bfe482ecd62767252f50453c7793c Mon Sep 17 00:00:00 2001
From: jay <jlaura@usgs.gov>
Date: Thu, 23 Aug 2018 08:09:07 -0700
Subject: [PATCH] if/else

---
 .travis.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index cd4c0ee..edf2ab7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,12 +19,13 @@ install:
 - conda config --add channels conda-forge
 # Setup to do the build 
 - conda install -y -q conda-build anaconda-client
+- conda config --set anaconda_upload yes 
 
 script:
 # Build and upload on success
-- if [ "${TRAVIS_PULL_REQUEST}" = "true" ] ; then
-    conda build recipe -q;
+- if [ "${TRAVIS_PULL_REQUEST}" = "true" ]
+  then
+    conda build recipe -q
   else
-    conda config --set anaconda_upload yes && \
-    conda build --token $CONDA_UPLOAD_TOKEN recipe -q;
+    conda build --token $CONDA_UPLOAD_TOKEN recipe -q
   fi
-- 
GitLab