Enable CI builds only for push and PRs to master.
commit6b6663828fa5d0078e39761994e7ad612e3a58d8
authorPranay Sashank <pranaysashank@gmail.com>
dateTue 7 Jan 2020, 11:06 (7 years ago)
parentb05f7b4
.circleci/config.yml+3
@@ -212,6 +212,9 @@ jobs:
212212workflows:
213213 version: 2
214214 build:
215+ branches:
216+ only:
217+ - master
215218 jobs:
216219 #- cabal-ghc-8.6.5
217220 #- cabal-ghc-8.4.4
.github/workflows/haskell.yml+5−1
@@ -1,6 +1,10 @@
11name: Haskell CI
22
3−on: [push, pull_request]
3+on:
4+ push:
5+ branches:
6+ - master
7+ pull_request:
48
59jobs:
610 build:
.travis.yml+3
@@ -2,6 +2,9 @@
22# You can use any of the options supported by packcheck as environment
33# variables here. See https://github.com/harendra-kumar/packcheck for all
44# options and their explanation.
5+
6+if: branch = master
7+
58# dist: trusty
69dist: xenial
710env:
appveyor.yml+4
@@ -2,6 +2,10 @@
22# You can use any of the options supported by packcheck as environment
33# variables here. See https://github.com/harendra-kumar/packcheck for all
44# options and their explanation.
5+branches:
6+ only:
7+ - master
8+
59environment:
610 # ------------------------------------------------------------------------
711 # Global options, you can use these per build as well