From a838fef1349ddc8d65dba6a02361db52f842676c Mon Sep 17 00:00:00 2001 From: Amit Bansil Date: Wed, 3 Aug 2016 17:03:53 -0400 Subject: [PATCH] chore(travis): don't release pull requests --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index be5507b7..8efaee88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,8 @@ after_success: - 'curl -Lo travis_after_all.py https://git.io/travis_after_all' - python travis_after_all.py - export $(cat .to_export_back) &> /dev/null - - npm run semantic-release + - test $TRAVIS_PULL_REQUEST = false \ + && npm run semantic-release branches: only: - master \ No newline at end of file