aboutsummaryrefslogtreecommitdiffhomepage
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index ebc8207..4e005c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,21 +16,21 @@ before_install:
16 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc 16 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
17 - travis_retry sudo apt-get update 17 - travis_retry sudo apt-get update
18 - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER 18 - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER
19 - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH 19 - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:~/.cabal/bin:$PATH
20 20
21install: 21install:
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 hpc-coveralls 25 - cabal install hpc-coveralls
26 - cabal install --only-dependencies --enable-tests --enable-benchmarks --enable-coverage 26 - cabal install --only-dependencies --enable-tests --enable-benchmarks
27 27
28# 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
29# 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
30# build to fail. 30# build to fail.
31script: 31script:
32 # -v2 provides useful information for debugging 32 # -v2 provides useful information for debugging
33 - cabal configure --enable-tests --enable-benchmarks -v2 33 - cabal configure --enable-tests --enable-benchmarks --enable-coverage -v2
34 34
35 # this builds all libraries and executables 35 # this builds all libraries and executables
36 # (including tests/benchmarks) 36 # (including tests/benchmarks)