2014-08-03 17:48:18 +04:00
|
|
|
language: haskell
|
|
|
|
|
|
|
|
ghc:
|
|
|
|
- 7.6
|
|
|
|
- 7.8
|
|
|
|
|
2014-11-14 00:52:41 +03:00
|
|
|
env:
|
2014-11-16 14:07:51 +03:00
|
|
|
- lower_bound_dependencies=1
|
|
|
|
-
|
2014-11-14 00:52:41 +03:00
|
|
|
|
2014-08-03 17:48:18 +04:00
|
|
|
install:
|
2014-11-16 14:07:51 +03:00
|
|
|
# Set up the Shell to treat the semicolon as &&
|
|
|
|
- set -o pipefail && set -e
|
|
|
|
# Install the lower bound dependencies
|
|
|
|
- if [ $lower_bound_dependencies -eq 1 ];
|
|
|
|
then
|
|
|
|
cabal install "transformers == 0.2.*";
|
|
|
|
cabal install "text == 1.0.*";
|
|
|
|
cabal install "attoparsec == 0.10.*";
|
|
|
|
cabal install "time == 1.4.*";
|
|
|
|
fi;
|
2014-08-03 17:48:18 +04:00
|
|
|
- cabal install happy # a "haskell-src-exts" implicit dependency workaround
|
|
|
|
- cabal install --only-dependencies --enable-tests --enable-benchmarks --force-reinstalls
|
|
|
|
|
2014-11-10 19:37:46 +03:00
|
|
|
script:
|
|
|
|
- cabal configure --enable-tests --enable-benchmarks
|
|
|
|
- cabal build
|
|
|
|
- cabal test --show-details=always
|