Skip to content
Snippets Groups Projects
Commit 58f5636d authored by glguy's avatar glguy Committed by GitHub
Browse files

Merge pull request #20 from RyanGlScott/master

Allow building with GHC 8.2
parents 6b70ee7e 6ba93c51
No related branches found
No related tags found
No related merge requests found
...@@ -25,9 +25,15 @@ matrix: ...@@ -25,9 +25,15 @@ matrix:
- env: CABALVER=1.18 GHCVER=7.8.4 - env: CABALVER=1.18 GHCVER=7.8.4
compiler: ": #GHC 7.8.4" compiler: ": #GHC 7.8.4"
addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}} addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}
- env: CABALVER=1.22 GHCVER=7.10.2 - env: CABALVER=1.22 GHCVER=7.10.3
compiler: ": #GHC 7.10.2" compiler: ": #GHC 7.10.3"
addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.2], sources: [hvr-ghc]}} addons: {apt: {packages: [cabal-install-1.22,ghc-7.10.3], sources: [hvr-ghc]}}
- env: CABALVER=1.24 GHCVER=8.0.2
compiler: ": #GHC 8.0.2"
addons: {apt: {packages: [cabal-install-1.24,ghc-8.0.2], sources: [hvr-ghc]}}
- env: CABALVER=2.0 GHCVER=8.2.1
compiler: ": #GHC 8.2.1"
addons: {apt: {packages: [cabal-install-2.0,ghc-8.2.1], sources: [hvr-ghc]}}
before_install: before_install:
- unset CC - unset CC
...@@ -59,7 +65,7 @@ install: ...@@ -59,7 +65,7 @@ install:
mkdir -p $HOME/.ghc $HOME/.cabal/lib $HOME/.cabal/share $HOME/.cabal/bin; mkdir -p $HOME/.ghc $HOME/.cabal/lib $HOME/.cabal/share $HOME/.cabal/bin;
cabal install --only-dependencies --enable-tests --enable-benchmarks; cabal install --only-dependencies --enable-tests --enable-benchmarks;
fi fi
# snapshot package-db on cache miss # snapshot package-db on cache miss
- if [ ! -d $HOME/.cabsnap ]; - if [ ! -d $HOME/.cabsnap ];
then then
......
...@@ -15,7 +15,7 @@ Category: Codec ...@@ -15,7 +15,7 @@ Category: Codec
Build-type: Simple Build-type: Simple
cabal-version: >= 1.10 cabal-version: >= 1.10
Extra-Source-Files: CHANGELOG.markdown Extra-Source-Files: CHANGELOG.markdown
Tested-With: GHC==7.0.4, GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.2 Tested-With: GHC==7.0.4, GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
source-repository head source-repository head
type: git type: git
...@@ -24,7 +24,7 @@ source-repository head ...@@ -24,7 +24,7 @@ source-repository head
library library
Ghc-options: -W -O2 Ghc-options: -W -O2
build-depends: base >= 4.3 && < 4.10, bytestring >= 0.9 build-depends: base >= 4.3 && < 4.11, bytestring >= 0.9
Exposed-modules: Codec.Binary.UTF8.String Exposed-modules: Codec.Binary.UTF8.String
Codec.Binary.UTF8.Generic Codec.Binary.UTF8.Generic
...@@ -37,5 +37,5 @@ library ...@@ -37,5 +37,5 @@ library
test-suite unit-tests test-suite unit-tests
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: tests/Tests.hs main-is: tests/Tests.hs
build-depends: base, HUnit >= 1.3 && < 1.4 build-depends: base, HUnit >= 1.3 && < 1.7
default-language: Haskell2010 default-language: Haskell2010
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment