From 88eb6ccdab6b41b5df67cbcfbb00ee9a431214e6 Mon Sep 17 00:00:00 2001 From: Vitalii Guzeev Date: Tue, 11 Sep 2018 18:17:24 +0300 Subject: [PATCH] Add .travis.yml --- .travis.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8942fdd --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +# Use new container infrastructure to enable caching +sudo: false + +# Do not choose a language; we provide our own build tools. +language: generic + +addons: + apt: + packages: + - haskell-platform + +before_install: +# Download and unpack cabal executable +- mkdir -p ~/.local/bin +- export PATH=$HOME/.local/bin:$PATH +- cabal update + +install: +- cabal install --enable-tests + +script: +- cabal test +- cabal haddock