From f58c263f9a1889102ee31936ce2edc00cacf986c Mon Sep 17 00:00:00 2001 From: Jordan Suchow Date: Mon, 7 Mar 2016 12:33:44 -0800 Subject: [PATCH] Update site only on master MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (Don’t update the site on pull requests to master.) --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5a0fa0d7c..9092e56b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,14 +20,14 @@ script: - pep8 . - pep257 . --match='.*\.py' - nosetests --with-coverage --cover-package proselint -- if [ "$TRAVIS_BRANCH" == "master" ]; then +- if [ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_PULL_REQUEST" == "false" ]; then python scripts/insert_demo.py; cd site; jekyll build; s3_website push; cd ..; + check-links "http://proselint.com"; fi -- check-links "http://proselint.com" after_success: - coveralls env: