Skip to content

Commit ce89b4f

Browse files
committed
Add ghc-7.6 to travis matrix
1 parent 489659a commit ce89b4f

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ env:
1818

1919
matrix:
2020
include:
21+
- env: BUILD=cabal CABALVER=1.18 GHCVER=7.6.3
22+
compiler: ": #GHC 7.6.3"
23+
addons: {apt: {packages: [cabal-install-1.18,ghc-7.6.3], sources: [hvr-ghc]}}
2124
- env: BUILD=cabal CABALVER=1.18 GHCVER=7.8.4
2225
compiler: ": #GHC 7.8.4"
2326
addons: {apt: {packages: [cabal-install-1.18,ghc-7.8.4], sources: [hvr-ghc]}}

github.cabal

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ homepage: https://github.com/phadej/github
2525
copyright: Copyright 2012-2013 Mike Burns, Copyright 2013-2015 John Wiegley, Copyright 2016 Oleg Grenrus
2626
category: Network
2727
build-type: Simple
28-
tested-with: GHC==7.8.4, GHC==7.10.2
28+
tested-with: GHC==7.6.3, GHC==7.8.4, GHC==7.10.3
2929
cabal-version: >=1.10
3030
extra-source-files:
3131
README.md,
@@ -98,18 +98,18 @@ Library
9898
GitHub.Request
9999

100100
-- Packages needed in order to build this package.
101-
build-depends: base >= 4.7 && <4.9,
101+
Build-depends: base >=4.6.0.1 && <4.9,
102102
aeson >=0.7.0.6 && <0.11,
103103
attoparsec >=0.11.3.4 && <0.14,
104104
base-compat >=0.6.0 && <0.10,
105105
base16-bytestring >=0.1.1.6 && <0.2,
106-
binary >=0.7.1.0 && <0.9,
106+
binary >=0.5.1.0 && <0.9,
107107
binary-orphans >=0.1.0.0 && <0.2,
108108
byteable >=0.1.1 && <0.2,
109-
bytestring >=0.10.4.0 && <0.11,
110-
containers >=0.5.5.1 && <0.6,
109+
bytestring >=0.10.0.2 && <0.11,
110+
containers >=0.5.0.0 && <0.6,
111111
cryptohash >=0.11 && <0.12,
112-
deepseq >=1.3.0.2 && <1.5,
112+
deepseq >=1.3.0.1 && <1.5,
113113
deepseq-generics >=0.1.1.2 && <0.3,
114114
exceptions >=0.8.0.2 && <0.9,
115115
hashable >=1.2.3.3 && <1.3,
@@ -122,7 +122,7 @@ Library
122122
network-uri >=2.6.0.3 && <2.7,
123123
semigroups >=0.16.2.2 && <0.19,
124124
text >=1.2.0.6 && <1.3,
125-
time >=1.4 && <1.7,
125+
time >=1.4.0.1 && <1.7,
126126
transformers >=0.3.0.0 && <0.6,
127127
transformers-compat >=0.4.0.3 && <0.6,
128128
unordered-containers >=0.2 && <0.3,
@@ -153,6 +153,7 @@ test-suite github-test
153153
vector,
154154
unordered-containers,
155155
file-embed,
156+
tagged,
156157
hspec
157158
if flag(aeson-compat)
158159
build-depends: aeson-compat

src/GitHub/Data/Request.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ data Request (k :: Bool) a where
122122
PagedQuery :: FromJSON (Vector a) => Paths -> QueryString -> Maybe Count -> Request k (Vector a)
123123
Command :: FromJSON a => CommandMethod a -> Paths -> LBS.ByteString -> Request 'True a
124124
StatusQuery :: StatusMap a -> Request k () -> Request k a
125+
#if __GLASGOW_HASKELL >= 708
125126
deriving (Typeable)
127+
#endif
126128

127129
deriving instance Eq (Request k a)
128130

0 commit comments

Comments
 (0)