Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 2d8361a

Browse files
authored
chore: avoid double travis build for PRs (#1133)
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.
1 parent 91ee5b3 commit 2d8361a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
language: node_js
22
cache: npm
33

4+
branches:
5+
only:
6+
- master
7+
- /^release\/.*$/
8+
49
stages:
510
- check
611
- test

0 commit comments

Comments
 (0)