Enable caching on Travis

This commit is contained in:
mrkkrp 2017-03-05 16:44:08 +03:00
parent a15e36390e
commit 94c2bf6324

View File

@ -2,6 +2,11 @@ language: c
sudo: false
cache:
directories:
- ~/.ghc
- ~/.cabal
matrix:
include:
- env: CABALVER=1.24 GHCVER=7.10.3
@ -19,7 +24,7 @@ install:
- cabal install --only-dependencies --enable-tests
script:
- cabal configure --enable-tests --enable-coverage -v2 -f dev
- cabal configure --enable-tests -v2 -f dev
- cabal build
- cabal test --show-details=always
- cabal sdist