Skip to content

Commit 23df779

Browse files
committed
Cabal 1.18 complains about PatternSynonyms.
1 parent c17f975 commit 23df779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ script:
7676
- cabal configure --enable-tests --enable-benchmarks --ghc-options=-Werror -v2 # -v2 provides useful information for debugging
7777
- cabal build # this builds all libraries and executables (including tests/benchmarks)
7878
- cabal test
79-
- cabal check
79+
- if [ $CABALVER \> 1.18 ]; then cabal check; fi # Cabal 1.18 complains about PatternSynonyms
8080
- cabal haddock # tests that documentation can be generated
8181
- cabal sdist # tests that a source-distribution can be generated
8282

0 commit comments

Comments
 (0)