diff options
author | Julien Tanguy <julien.tanguy@jhome.fr> | 2015-07-08 19:39:38 +0200 |
---|---|---|
committer | Julien Tanguy <julien.tanguy@jhome.fr> | 2015-07-08 19:39:38 +0200 |
commit | dd2d952008cd040d9176ac804a713cce41d928f9 (patch) | |
tree | 6db115260cf281df229b29bd8cb797e68b06e1b8 | |
parent | 1dcd44f350f9842027b498e89ae586275047a3d3 (diff) | |
download | hmacaroons-dd2d952008cd040d9176ac804a713cce41d928f9.tar.gz hmacaroons-dd2d952008cd040d9176ac804a713cce41d928f9.tar.zst hmacaroons-dd2d952008cd040d9176ac804a713cce41d928f9.zip |
Fix travis.yml
-rw-r--r-- | .travis.yml | 6 |
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 | ||
21 | install: | 21 | 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 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. |
31 | script: | 31 | script: |
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) |