-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathhpc-coveralls.cabal
131 lines (124 loc) · 3.82 KB
/
hpc-coveralls.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
name: hpc-coveralls
version: 1.0.10
synopsis: Coveralls.io support for Haskell.
description:
This utility converts and sends Haskell projects hpc code coverage to
<http://coveralls.io/ coverall.io>.
.
/Usage/
.
Below is the simplest example of .travis.yml configuration to use with Travis CI:
.
> language: haskell
> ghc: 7.8
> script:
> - cabal configure --enable-tests --enable-library-coverage && cabal build && cabal test
> after_script:
> - cabal install hpc-coveralls
> - hpc-coveralls [options] [test-suite-names]
.
Further information can be found in the <https://github.com/guillaume-nargeot/hpc-coveralls README>.
license: BSD3
license-file: LICENSE
author: Guillaume Nargeot
maintainer: Guillaume Nargeot <[email protected]>
copyright: (c) 2014-2017 Guillaume Nargeot
category: Control
build-type: Simple
stability: experimental
cabal-version: >= 1.8
tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2
homepage: https://github.com/guillaume-nargeot/hpc-coveralls
bug-reports: https://github.com/guillaume-nargeot/hpc-coveralls/issues
extra-source-files:
README.md,
CHANGELOG.md
source-repository head
type: git
location: https://github.com/guillaume-nargeot/hpc-coveralls.git
library
hs-source-dirs: src
exposed-modules:
Trace.Hpc.Coveralls,
Trace.Hpc.Coveralls.Lix,
Trace.Hpc.Coveralls.Types,
Trace.Hpc.Coveralls.Util
other-modules:
HpcCoverallsCmdLine,
Paths_hpc_coveralls,
Trace.Hpc.Coveralls.Cabal,
Trace.Hpc.Coveralls.Config,
Trace.Hpc.Coveralls.Curl,
Trace.Hpc.Coveralls.GitInfo,
Trace.Hpc.Coveralls.Paths
build-depends:
aeson >= 0.7.1 && <1.3,
base >= 4 && < 5,
bytestring >= 0.10 && <0.11,
Cabal,
containers >= 0.5 && <0.6,
cmdargs >= 0.10 && <0.11,
curl >= 1.3.8 && <1.4,
directory >= 1.2 && <1.4,
directory-tree >= 0.12 && <0.13,
hpc >= 0.6 && <0.7,
process >= 1.1.0.1 && <1.7,
pureMD5 >= 2.1 && <2.2,
retry >= 0.5 && <0.8,
safe >= 0.3 && <0.4,
split >= 0.2.2 && <0.3,
transformers >= 0.4.1 && <0.6
executable hpc-coveralls
hs-source-dirs: src
main-is: HpcCoverallsMain.hs
other-modules:
HpcCoverallsCmdLine
Trace.Hpc.Coveralls
Trace.Hpc.Coveralls.Cabal
Trace.Hpc.Coveralls.Config
Trace.Hpc.Coveralls.Curl
Trace.Hpc.Coveralls.GitInfo
Trace.Hpc.Coveralls.Lix
Trace.Hpc.Coveralls.Paths
Trace.Hpc.Coveralls.Types
Trace.Hpc.Coveralls.Util
build-depends:
aeson >= 0.7.1 && <1.3,
base >= 4 && < 5,
bytestring >= 0.10 && <0.11,
Cabal,
containers >= 0.5 && <0.6,
cmdargs >= 0.10 && <0.11,
curl >= 1.3.8 && <1.4,
directory >= 1.2 && <1.4,
directory-tree >= 0.12 && <0.13,
hpc >= 0.6 && <0.7,
process >= 1.1.0.1 && <1.7,
pureMD5 >= 2.1 && <2.2,
retry >= 0.5 && <0.8,
safe >= 0.3 && <0.4,
split >= 0.2.2 && <0.3,
transformers >= 0.4.1 && <0.6
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
executable run-cabal-test
hs-source-dirs: src
main-is: RunCabalTestMain.hs
build-depends:
async >= 2.0,
base >=4 && < 5,
process,
regex-posix,
split
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
test-suite test-all
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: TestAll.hs
other-modules:
TestHpcCoverallsLix,
TestHpcCoverallsUtil
build-depends:
base,
hpc-coveralls,
HUnit
ghc-options: -Wall