From c86f949381a2d80b904ff922ea47dbf86fffdde5 Mon Sep 17 00:00:00 2001
From: jay <jlaura@usgs.gov>
Date: Thu, 23 Aug 2018 08:01:31 -0700
Subject: [PATCH] different syntax for travis if PR

---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index c249ad8..3af24fb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,7 +23,7 @@ install:
 
 script:
 # Build and upload on success
-- if $TRAVIS_PULL_REQUEST; then
+- if [ "${TRAVIS_PULL_REQUEST}" = "false"; then
     conda build recipe -q;
   else
     conda build --token $CONDA_UPLOAD_TOKEN recipe -q;
-- 
GitLab