-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
37 lines (32 loc) · 961 Bytes
/
.travis.yml
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
language: haskell
ghc: 7.8.3
cache:
directories:
- ~/.cabal
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/ed158bf029566cee4c0d
on_success: always # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: false # default: false
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch
- cabal update
- pushd .
- cd ~/
- travis_retry cabal install cabal-install
- popd
- cabal sandbox init
- travis_retry cabal install hpc-coveralls --force-reinstalls
script:
- cabal install --only-dependencies --enable-tests
- cabal configure --enable-tests --enable-library-coverage
- cabal build
- run-cabal-test --show-details=always
# - hlint src
# - hlint tests
# - hlint benchmarks
after_script:
- hpc-coveralls --exclude-dir=tests kdb-haskell-tests