Skip to content

Commit

Permalink
fixes for ghc <= 7.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
phlummox committed Jun 24, 2020
1 parent 7ffdd4e commit 8841129
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ matrix:
# compiler: ": #stack default"
# addons: {apt: {packages: [libgmp-dev]}}

- env: BUILD=stack ARGS="--resolver lts-6 --stack-yaml stack-lts-13.yaml"
compiler: ": #stack 7.10.3"
addons: {apt: {packages: [libgmp-dev]}}

- env: BUILD=stack ARGS="--resolver lts-7 --stack-yaml stack-lts-13.yaml"
compiler: ": #stack 8.0.1"
addons: {apt: {packages: [libgmp-dev]}}
Expand Down
22 changes: 13 additions & 9 deletions exigo-schema.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ build-type: Simple
extra-source-files:
README.md
ChangeLog.md
stack-lts-13.yaml
config/exigo.persistentmodels
.travis.yml
-- builds & tests successfully as far back as stack lts-7
tested-with: GHC == 8.0.1
tested-with: GHC == 7.10.3
GHC == 8.0.1
GHC == 8.2.2
GHC == 8.6.5

Expand Down Expand Up @@ -48,14 +51,15 @@ library
ghc-options:
-Wall
-fwarn-tabs
-Wredundant-constraints
-Wno-type-defaults
-Wcompat
-Wextra
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wno-name-shadowing
if impl(ghc >= 8.0)
ghc-options: -Wredundant-constraints
-Wno-type-defaults
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wno-name-shadowing
-Wextra
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
Expand Down

0 comments on commit 8841129

Please sign in to comment.