File tree 3 files changed +7
-6
lines changed 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 8
8
- GHCVER=7.6.3
9
9
- GHCVER=7.8.4
10
10
- GHCVER=7.10.3
11
+ - GHCVER=8.0.1
11
12
# TODO add PARSEC_BUNDLED=YES when it's so
12
13
- GHCVER=head
13
14
14
15
# Note: the distinction between `before_install` and `install` is not important.
15
16
before_install :
16
17
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
17
18
- travis_retry sudo apt-get update
18
- - travis_retry sudo apt-get install cabal-install-1.22 ghc-$GHCVER-prof ghc-$GHCVER-dyn happy
19
- - export PATH=$HOME/.cabal/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/1.22 /bin:$PATH
19
+ - travis_retry sudo apt-get install cabal-install-1.24 ghc-$GHCVER-prof ghc-$GHCVER-dyn happy
20
+ - export PATH=$HOME/.cabal/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/1.24 /bin:$PATH
20
21
- git version
21
22
22
23
install :
Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ tests config = do
115
115
assertRegex " error should be in MyLibrary.hs" " ^MyLibrary.hs:" r
116
116
assertRegex
117
117
" error should be \" Could not find module `Text\\ .PrettyPrint\" "
118
- " Could not find module.*Text\\ .PrettyPrint" r
118
+ " ( Could not find module|Failed to load interface for) .*Text\\ .PrettyPrint" r
119
119
120
120
-- This is a control on TargetSpecificDeps1; it should
121
121
-- succeed.
@@ -130,7 +130,7 @@ tests config = do
130
130
assertRegex " error should be in lemon.hs" " ^lemon.hs:" r
131
131
assertRegex
132
132
" error should be \" Could not find module `Text\\ .PrettyPrint\" "
133
- " Could not find module.*Text\\ .PrettyPrint" r
133
+ " ( Could not find module|Failed to load interface for) .*Text\\ .PrettyPrint" r
134
134
135
135
-- Test that Paths module is generated and available for executables.
136
136
tc " PathsModule/Executable" $ cabal_build []
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import Distribution.System
9
9
import Test.Tasty
10
10
import Test.Tasty.QuickCheck
11
11
12
- textRoundtrip :: (Arbitrary a , Show a , Eq a , Text a ) => a -> Property
12
+ textRoundtrip :: (Show a , Eq a , Text a ) => a -> Property
13
13
textRoundtrip x = simpleParse (display x) === Just x
14
14
15
15
tests :: [TestTree ]
@@ -26,4 +26,4 @@ instance Arbitrary Arch where
26
26
arbitrary = elements knownArches
27
27
28
28
instance Arbitrary Platform where
29
- arbitrary = liftM2 Platform arbitrary arbitrary
29
+ arbitrary = liftM2 Platform arbitrary arbitrary
You can’t perform that action at this time.
0 commit comments