Skip to content

Commit

Permalink
Travis: Limit branch builds to master (#295)
Browse files Browse the repository at this point in the history
…not much use having them in PRs.
  • Loading branch information
sjakobi authored Jul 30, 2020
1 parent efa706b commit 3cc98a4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This Travis job script has been generated by a script via
#
# haskell-ci '--benchmarks-jobs= >=7.10' '--installed=-containers' '--installed=-binary' 'unordered-containers.cabal'
# haskell-ci '--benchmarks-jobs= >=7.10' '--installed=-containers' '--installed=-binary' 'unordered-containers.cabal' '--branches=master'
#
# To regenerate the script (for example after adjusting tested-with) run
#
Expand All @@ -17,6 +17,9 @@ dist: xenial
git:
# whether to recursively clone submodules
submodules: false
branches:
only:
- master
cache:
directories:
- $HOME/.cabal/packages
Expand Down Expand Up @@ -155,5 +158,5 @@ script:
- rm -f cabal.project.local
- ${CABAL} v2-build $WITHCOMPILER --disable-tests --disable-benchmarks all

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

0 comments on commit 3cc98a4

Please sign in to comment.