Skip to content
Snippets Groups Projects
Unverified Commit e5b48049 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing: Committed by GitHub
Browse files

Merge PR#6312

Allow forks to trigger CI builds but at the same time exclude builds in forks from triggering notifications.

See also https://docs.travis-ci.com/user/conditions-v1
parents 0d469215 bf69d2d4
No related branches found
No related tags found
No related merge requests found
......@@ -9,18 +9,9 @@ dist: trusty
sudo: true
# We whitelist branches, as we don't really need to build dev-branches.
# Except if those branches are in a fork.
# Remember to add release branches, both here and to appveyor.yml.
branches:
only:
- master
- "3.0"
- "2.4"
- "2.2"
- "2.0"
- "1.24"
- "1.22"
- "1.20"
- "1.18"
if: branch IN (master, 3.0, 2.4, 2.2, 2.0, 1.24, 1.22, 1.20, 1.18) OR repo != haskell/cabal
# The following enables several GHC versions to be tested; often it's enough to
# test only against the last release in a major GHC version. Feel free to omit
......@@ -177,6 +168,9 @@ after_success:
notifications:
irc:
if: repo = haskell/cabal
channels:
- "chat.freenode.net##haskell-cabal"
slack: haskell-cabal:sCq6GLfy9N8MJrInosg871n4
slack:
if: repo = haskell/cabal
rooms: haskell-cabal:sCq6GLfy9N8MJrInosg871n4
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment