From f473a0e0ca5530514704a0c2d53cff6db216ca9d Mon Sep 17 00:00:00 2001 From: Julian Simioni Date: Thu, 30 Aug 2018 23:12:36 +0300 Subject: [PATCH] Only run semantic-release on master branch As this is an NPM module, the master branch is where we do releases. Running semantic-release anywhere else just wastes time on TravisCI. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 5ab053b..60235aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,3 +19,4 @@ jobs: - stage: release node_js: 10 script: curl "https://raw.githubusercontent.com/pelias/ci-tools/master/semantic-release.sh" | bash - + if: branch = master