From 535944d929e16119233b8e4f5a17253340ae94f1 Mon Sep 17 00:00:00 2001 From: jay <jlaura@usgs.gov> Date: Thu, 23 Aug 2018 07:58:14 -0700 Subject: [PATCH] Conditional push to omit for PRs --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 31158e1..c249ad8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,4 +23,8 @@ install: script: # Build and upload on success -- conda build --token $CONDA_UPLOAD_TOKEN recipe -q +- if $TRAVIS_PULL_REQUEST; then + conda build recipe -q; + else + conda build --token $CONDA_UPLOAD_TOKEN recipe -q; + fi -- GitLab