on master help sign in
Merge pull request #8 from int-index/coverage
fe92c00Index Int
.travis.yml+6−2
@@ -5,7 +5,7 @@ env:
5 - CABALVER=1.22 GHCVER=7.10.3
5 - CABALVER=1.22 GHCVER=7.10.3
6
6
7before_install:
7before_install:
8− - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH
8+ - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH
9 - travis_retry cabal update
9 - travis_retry cabal update
10
10
11install:
11install:
@@ -14,10 +14,14 @@ install:
14 - cabal install --only-dependencies --enable-tests
14 - cabal install --only-dependencies --enable-tests
15
15
16script:
16script:
17− - cabal configure --enable-tests -v2
17+ - cabal configure --enable-tests --enable-library-coverage -v2
18 - cabal build
18 - cabal build
19 - cabal test
19 - cabal test
20
20
21+after_script:
22+ - cabal install hpc-coveralls
23+ - hpc-coveralls regression --exclude-dir=test
24+
21addons:
25addons:
22 apt:
26 apt:
23 sources:
27 sources:
README.md+1
@@ -2,6 +2,7 @@
2
2
3[![Build Status](https://img.shields.io/travis/int-index/ether.svg)](https://travis-ci.org/int-index/ether)
3[![Build Status](https://img.shields.io/travis/int-index/ether.svg)](https://travis-ci.org/int-index/ether)
4[![Hackage](https://img.shields.io/hackage/v/ether.svg)](https://hackage.haskell.org/package/ether)
4[![Hackage](https://img.shields.io/hackage/v/ether.svg)](https://hackage.haskell.org/package/ether)
5+[![Coveralls](https://img.shields.io/coveralls/int-index/ether.svg)](https://coveralls.io/github/int-index/ether)
5[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/int-index/ether)
6[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/int-index/ether)
6
7
7
8
ether.cabal+10−10
@@ -66,21 +66,21 @@ library
66 , template-haskell >=2.9
66 , template-haskell >=2.9
67
67
68 default-language: Haskell2010
68 default-language: Haskell2010
69− other-extensions: DeriveGeneric
69+ other-extensions: CPP
70− MultiParamTypeClasses
70+ ConstraintKinds
71− TypeFamilies
72− FlexibleInstances
73− UndecidableInstances
74 DataKinds
71 DataKinds
75− GeneralizedNewtypeDeriving
72+ DefaultSignatures
73+ DeriveGeneric
74+ FlexibleInstances
76 FunctionalDependencies
75 FunctionalDependencies
77− ConstraintKinds
76+ GeneralizedNewtypeDeriving
77+ MultiParamTypeClasses
78+ PolyKinds
78 ScopedTypeVariables
79 ScopedTypeVariables
79 TemplateHaskell
80 TemplateHaskell
80− PolyKinds
81+ TypeFamilies
81 TypeOperators
82 TypeOperators
82− DefaultSignatures
83+ UndecidableInstances
83− CPP
84
84
85 hs-source-dirs: src
85 hs-source-dirs: src
86 ghc-options: -Wall -Werror
86 ghc-options: -Wall -Werror