From 5fde163833108a353f33d9119381661f1180f6d9 Mon Sep 17 00:00:00 2001 From: Jake Wheat Date: Fri, 24 Apr 2020 18:16:24 +0100 Subject: [PATCH] add travis --- .travis.yml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..82e2ee1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,49 @@ + +language: haskell +dist: bionic + +addons: + apt: + sources: + - deadsnakes + - sourceline: 'ppa:hvr/ghc' + +git: + depth: 5 + +cache: + directories: + - $HOME/.cabal/packages + - $HOME/.cabal/store + - $HOME/.cabal/bin + +branches: + only: + - master + - travis_stuff + +cabal-install: + - 3.2 +cabal: + - 3.2 + +ghc: + - 8.10.1 + - 8.8.3 + - 8.6.5 + - 8.4.4 + +install: + - ghc --version + - cabal --version + - cabal update + - cabal check + - cabal outdated + - cabal build --enable-tests --enable-benchmarks -fparserexe + +script: + - cabal run test:Tests -- --hide-successes --ansi-tricks=false + + +# todo: add making the website, this is good to check the entire set +# of deps to be able to do this