Skip to content

Commit 3cc98a4

Browse files
authored
Travis: Limit branch builds to master (#295)
…not much use having them in PRs.
1 parent efa706b commit 3cc98a4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This Travis job script has been generated by a script via
22
#
3-
# haskell-ci '--benchmarks-jobs= >=7.10' '--installed=-containers' '--installed=-binary' 'unordered-containers.cabal'
3+
# haskell-ci '--benchmarks-jobs= >=7.10' '--installed=-containers' '--installed=-binary' 'unordered-containers.cabal' '--branches=master'
44
#
55
# To regenerate the script (for example after adjusting tested-with) run
66
#
@@ -17,6 +17,9 @@ dist: xenial
1717
git:
1818
# whether to recursively clone submodules
1919
submodules: false
20+
branches:
21+
only:
22+
- master
2023
cache:
2124
directories:
2225
- $HOME/.cabal/packages
@@ -155,5 +158,5 @@ script:
155158
- rm -f cabal.project.local
156159
- ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all
157160

158-
# REGENDATA ("0.10.2",["--benchmarks-jobs= >=7.10","--installed=-containers","--installed=-binary","unordered-containers.cabal"])
161+
# REGENDATA ("0.10.2",["--benchmarks-jobs= >=7.10","--installed=-containers","--installed=-binary","unordered-containers.cabal","--branches=master"])
159162
# EOF

0 commit comments

Comments
 (0)