Skip to content

Allow failures in OSX jobs #6278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 17 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,23 @@ matrix:
- env: GHCVER=8.0.2 SCRIPT=bootstrap
os: osx

# It's been long known that CI with
# Stack does not work so it's disabled until further notice
# to reduce latency and avoid wasting CI slots for no reason.
#
#- env: GHCVER=via-stack SCRIPT=stack STACK_CONFIG=stack.yaml
# os: linux
#
# See https://github.com/haskell/cabal/pull/4667#issuecomment-321036564
# for why failures are allowed.
# allow_failures:
# - env: GHCVER=via-stack SCRIPT=stack STACK_CONFIG=stack.yaml
# It's been long known that CI with
# Stack does not work so it's disabled until further notice
# to reduce latency and avoid wasting CI slots for no reason.
#
#- env: GHCVER=via-stack SCRIPT=stack STACK_CONFIG=stack.yaml
# os: linux
#
# See https://github.com/haskell/cabal/pull/4667#issuecomment-321036564
# for why failures are allowed.
#
# OSX jobs timeout often, so they can fail
allow_failures:
# - env: GHCVER=via-stack SCRIPT=stack STACK_CONFIG=stack.yaml
- env: GHCVER=7.10.3 SCRIPT=script
os: osx
- env: GHCVER=8.0.2 SCRIPT=script
os: osx

# TODO add PARSEC_BUNDLED=YES when it's so
# It seems pointless to run head if we're going to ignore the results.
Expand Down
1 change: 1 addition & 0 deletions cabal-install/cabal-install.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ executable cabal
stm >= 2.0 && < 2.6,
tar >= 0.5.0.3 && < 0.6,
time >= 1.5.0.1 && < 1.10,
transformers >= 0.4.2.0 && < 0.6,
zlib >= 0.5.3 && < 0.7,
hackage-security >= 0.5.2.2 && < 0.6,
text >= 1.2.3 && < 1.3,
Expand Down
1 change: 1 addition & 0 deletions cabal-install/cabal-install.cabal.pp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
stm >= 2.0 && < 2.6,
tar >= 0.5.0.3 && < 0.6,
time >= 1.5.0.1 && < 1.10,
transformers >= 0.4.2.0 && < 0.6,
zlib >= 0.5.3 && < 0.7,
hackage-security >= 0.5.2.2 && < 0.6,
text >= 1.2.3 && < 1.3,
Expand Down