From 376817b3eca9cb912b4f131dce312c43f013c130 Mon Sep 17 00:00:00 2001 From: achingbrain Date: Tue, 22 Oct 2019 13:15:10 +0100 Subject: [PATCH] chore: avoid double travis build for PRs Disable building branches that aren't master - builds will happen for all PRs anyway, so this change means we don't get a branch build and a PR build on each PR. --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index a6e41ebdf..802efe943 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,11 @@ language: node_js cache: npm +branches: + only: + - master + - /^release\/.*$/ + stages: - check - test