Enable CI builds only for push and PRs to master.

This commit is contained in:
Pranay Sashank 2020-01-07 11:06:00 +05:30
parent b05f7b43b4
commit 6b6663828f
4 changed files with 15 additions and 1 deletions

View File

@ -212,6 +212,9 @@ jobs:
workflows:
version: 2
build:
branches:
only:
- master
jobs:
#- cabal-ghc-8.6.5
#- cabal-ghc-8.4.4

View File

@ -1,6 +1,10 @@
name: Haskell CI
on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
jobs:
build:

View File

@ -2,6 +2,9 @@
# You can use any of the options supported by packcheck as environment
# variables here. See https://github.com/harendra-kumar/packcheck for all
# options and their explanation.
if: branch = master
# dist: trusty
dist: xenial
env:

View File

@ -2,6 +2,10 @@
# You can use any of the options supported by packcheck as environment
# variables here. See https://github.com/harendra-kumar/packcheck for all
# options and their explanation.
branches:
only:
- master
environment:
# ------------------------------------------------------------------------
# Global options, you can use these per build as well