From 1de03db4ff6c893404e5950e5aa0846eaf62cf1a Mon Sep 17 00:00:00 2001 From: Michele Locati Date: Thu, 12 Apr 2018 12:15:15 +0200 Subject: [PATCH] Update README.md automatically only when pushing to the master branch --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3082c27..05f1dd9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ install: script: - if test "${TRAVIS_EVENT_TYPE:-}" = 'pull_request'; then ./scripts/travisci-test-new-extensions; fi - - if test "${TRAVIS_EVENT_TYPE:-}" = 'push'; then ./scripts/travisci-update-readme; fi + - if test "${TRAVIS_EVENT_TYPE:-}" = 'push' && test "${TRAVIS_BRANCH:-}" = 'master'; then ./scripts/travisci-update-readme; fi notifications: email: false \ No newline at end of file