-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5766 from 23Skidoo/travis-fixes-from-2.4
[WIP] Port Travis fixes from the 2.4 branch
- Loading branch information
Showing
11 changed files
with
132 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
-- Force error messages to be better | ||
-- Parallel new-build error messages are non-existent. | ||
-- Turn off parallelization to get good errors. | ||
jobs: 1 | ||
|
||
-- We vendor a copy of hackage-repo-tool so that we can | ||
-- build it reliably. If we eventually get new-install | ||
-- in the bootstrap, this can go away. | ||
optional-packages: hackage-repo-tool-*/ | ||
-- hackage-repo-tool has upper bound on time | ||
allow-newer: hackage-repo-tool:time | ||
|
||
-- The -fno-warn-orphans is a hack to make Cabal-1.24 | ||
-- build properly (unfortunately the flags here get applied | ||
-- to the dependencies too!) | ||
package Cabal | ||
ghc-options: -Werror -fno-warn-orphans | ||
|
||
constraints: | ||
binary installed, | ||
bytestring installed, | ||
containers installed, | ||
deepseq installed, | ||
directory installed, | ||
filepath installed, | ||
pretty installed, | ||
process installed, | ||
time installed, | ||
unix installed | ||
|
||
package cabal-install | ||
ghc-options: -Werror |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
-- A copy of cabal.project, but with a trimmed down 'packages' | ||
-- field. Needed for LIB_ONLY configurations that can't build cabal-install, | ||
-- only lib:Cabal. | ||
|
||
packages: Cabal/ cabal-testsuite/ | ||
|
||
-- Uncomment to allow picking up extra local unpacked deps: | ||
--optional-packages: */ | ||
|
||
program-options | ||
-- So us hackers get all the assertion failures early: | ||
-- | ||
-- NOTE: currently commented out, see | ||
-- https://github.com/haskell/cabal/issues/3911 | ||
-- | ||
-- ghc-options: -fno-ignore-asserts | ||
-- | ||
-- as a workaround we specify it for each package individually: | ||
package Cabal | ||
ghc-options: -fno-ignore-asserts | ||
package cabal-testsuite | ||
ghc-options: -fno-ignore-asserts | ||
package cabal-install | ||
ghc-options: -fno-ignore-asserts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
packages: Cabal/ cabal-testsuite/ cabal-install/ | ||
packages: Cabal/ cabal-testsuite/ | ||
|
||
package Cabal | ||
ghc-options: -Werror -fno-ignore-asserts | ||
package cabal-testsuite | ||
ghc-options: -Werror -fno-ignore-asserts | ||
package cabal-install | ||
ghc-options: -Werror -fno-ignore-asserts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters