Skip to content

Commit dfe2120

Browse files
authored
Avoid double builds on PRs in Travis-CI (#29)
1 parent 926be5a commit dfe2120

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,8 @@ script:
2626
- cmake .
2727
- make
2828
- make test
29+
30+
# Only build master, and only build PR branches once
31+
branches:
32+
only:
33+
- master

0 commit comments

Comments
 (0)