Update README.md automatically only when pushing to the master branch

This commit is contained in:
Michele Locati 2018-04-12 12:15:15 +02:00
parent c403aa5e31
commit 1de03db4ff
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B

View File

@ -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