summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorEdwardKmett <>2013-03-28 03:55:49 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2013-03-28 03:55:49 (GMT)
commit0f1f710bd3f91d5125aaeb89b3581c0a983da502 (patch)
tree1c97860e16c7d22227909a2d3c7c84c52096cdc8 /.travis.yml
version 0.10.1
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..be60415
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,24 @@
+language: haskell
+before_install:
+ # Uncomment whenever hackage is down.
+ # - mkdir -p ~/.cabal && cp travis/config ~/.cabal/config && cabal update
+ # - cabal update
+ - travis/cabal-apt-install $mode
+
+install:
+ - cabal configure -flib-Werror $mode
+ - cabal build
+
+script:
+ - $script && hlint src --cpp-define HLINT
+
+notifications:
+ irc:
+ channels:
+ - "irc.freenode.org#haskell-lens"
+ skip_join: true
+ template:
+ - "\x0313bytes\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"
+
+env:
+ - mode="--enable-tests" script="cabal test --show-details=always"