File tree 5 files changed +23
-12
lines changed
wai-middleware-prometheus
5 files changed +23
-12
lines changed Original file line number Diff line number Diff line change 1
- ghc : 7.8
2
- language : haskell
3
1
notifications :
4
2
email : false
5
3
6
- install : []
4
+ env :
5
+ - CABALVER=1.18 GHCVER=7.8.4
6
+ - CABALVER=1.22 GHCVER=7.10.2
7
+
8
+ before_install :
9
+ - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
10
+ - travis_retry sudo apt-get update
11
+ - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER # see note about happy/alex
12
+ - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
13
+
14
+ install :
15
+ - cabal --version
16
+ - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
17
+ - travis_retry cabal update
7
18
8
19
before_script :
9
20
- wget https://www.stackage.org/lts/cabal.config
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ executable prometheus-haskell-example
20
20
main-is : Main.hs
21
21
default-language : Haskell2010
22
22
build-depends :
23
- base >= 4.6 && < 4.8
23
+ base >= 4.7 && < 5
24
24
, bytestring >= 0.9
25
25
, http-types
26
26
, prometheus-client
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ library
34
34
, Prometheus.Registry
35
35
build-depends :
36
36
atomic-primops >= 0.4
37
- , base >= 4.6 && < 4.8
37
+ , base >= 4.7 && < 5
38
38
, bytestring >= 0.9
39
39
, containers
40
40
, mtl >= 2
@@ -51,7 +51,7 @@ test-suite doctest
51
51
ghc-options : -Wall
52
52
main-is : doctest.hs
53
53
build-depends :
54
- base
54
+ base >= 4.7 && < 5
55
55
, doctest
56
56
, prometheus-client
57
57
@@ -63,7 +63,7 @@ test-suite spec
63
63
build-depends :
64
64
QuickCheck
65
65
, atomic-primops
66
- , base >= 4.6 && < 4.8
66
+ , base >= 4.7 && < 5
67
67
, bytestring
68
68
, containers
69
69
, hspec
@@ -81,7 +81,7 @@ benchmark bench
81
81
hs-source-dirs : benchmarks
82
82
main-is : Main.hs
83
83
build-depends :
84
- base >= 4.6 && < 4.8
84
+ base >= 4.7 && < 5
85
85
, bytestring
86
86
, criterion >= 1.1
87
87
, prometheus-client
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ library
24
24
exposed-modules :
25
25
Prometheus.Metric.GHC
26
26
build-depends :
27
- base >= 4.6 && < 4.8
27
+ base >= 4.7 && < 5
28
28
, prometheus-client
29
29
, utf8-string >= 0.3
30
30
ghc-options : -Wall
@@ -36,6 +36,6 @@ test-suite doctest
36
36
ghc-options : -Wall
37
37
main-is : doctest.hs
38
38
build-depends :
39
- base
39
+ base >= 4.7 && < 5
40
40
, doctest
41
41
, prometheus-client
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ library
24
24
exposed-modules :
25
25
Network.Wai.Middleware.Prometheus
26
26
build-depends :
27
- base >= 4.6 && < 4.8
27
+ base >= 4.7 && < 5
28
28
, bytestring >= 0.9
29
29
, data-default
30
30
, http-types
@@ -41,6 +41,6 @@ test-suite doctest
41
41
ghc-options : -Wall
42
42
main-is : doctest.hs
43
43
build-depends :
44
- base
44
+ base >= 4.7 && < 5
45
45
, doctest
46
46
, prometheus-client
You can’t perform that action at this time.
0 commit comments