diff options
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 621b275..ebc8207 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -22,7 +22,8 @@ install: | |||
22 | - cabal --version | 22 | - cabal --version |
23 | - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]" | 23 | - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]" |
24 | - travis_retry cabal update | 24 | - travis_retry cabal update |
25 | - cabal install --only-dependencies --enable-tests --enable-benchmarks | 25 | - cabal install hpc-coveralls |
26 | - cabal install --only-dependencies --enable-tests --enable-benchmarks --enable-coverage | ||
26 | 27 | ||
27 | # Here starts the actual work to be performed for the package under | 28 | # Here starts the actual work to be performed for the package under |
28 | # test; any command which exits with a non-zero exit code causes the | 29 | # test; any command which exits with a non-zero exit code causes the |
@@ -35,7 +36,7 @@ script: | |||
35 | # (including tests/benchmarks) | 36 | # (including tests/benchmarks) |
36 | - cabal build | 37 | - cabal build |
37 | 38 | ||
38 | - cabal test --show-details=streaming | 39 | - run-cabal-test --show-details=streaming |
39 | - cabal check | 40 | - cabal check |
40 | 41 | ||
41 | # tests that a source-distribution can be generated | 42 | # tests that a source-distribution can be generated |
@@ -45,4 +46,6 @@ script: | |||
45 | - SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && | 46 | - SRC_TGZ=$(cabal info . | awk '{print $2;exit}').tar.gz && |
46 | (cd dist && cabal install --force-reinstalls "$SRC_TGZ") | 47 | (cd dist && cabal install --force-reinstalls "$SRC_TGZ") |
47 | 48 | ||
49 | after_script: | ||
50 | - hpc-coveralls test | ||
48 | # EOF | 51 | # EOF |