language: haskell
before_install:
# Uncomment whenever hackage is down.
# - mkdir -p ~/.cabal && cp travis/config ~/.cabal/config && cabal update
- cabal update
# Try installing some of the build-deps with apt-get for speed.
- travis/cabal-apt-install $mode --force-reinstalls
install:
- cabal configure -flib-Werror $mode
- cabal build
- cabal install --enable-documentation
script:
- $script
# disable travis for now, atomic-primops doesn't work on GHC 7.4
branches:
except: /.*/
notifications:
irc:
channels:
- "irc.freenode.org#haskell-lens"
skip_join: true
template:
- "\x0313structures\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"
env:
- mode="--enable-tests" script="cabal test --show-details=always"