-language: haskell
\ No newline at end of file
+language: haskell
+
+before_install:
+ # Uncomment whenever hackage is down.
+ # - mkdir -p ~/.cabal && cp travis/config ~/.cabal/config && cabal update
+
+ # Try installing some of the build-deps with apt-get for speed.
+ - travis/cabal-apt-install $mode
+
+install:
+ - cabal configure $mode
+ - cabal build
+
+notifications:
+ irc:
+ channels:
+ - "irc.freenode.org##piffle"
+ skip_join: true
+ template:
+ - "\x0313linear\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"