···11+# NB: don't set `language: haskell` here
22+33+# The following enables several GHC versions to be tested; often it's enough to test only against the last release in a major GHC version. Feel free to omit lines listings versions you don't need/want testing for.
44+env:
55+ - CABALVER=1.22 GHCVER=7.10.3
66+ - CABALVER=1.24 GHCVER=8.0.1
77+88+# Note: the distinction between `before_install` and `install` is not important.
99+before_install:
1010+ - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
1111+ - travis_retry sudo apt-get update
1212+ - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER happy-1.19.5 alex-3.1.7 libblas-dev liblapack-dev
1313+ - export PATH=/opt/alex/3.1.7/bin:/opt/happy/1.19.5/bin:/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$HOME/.cabal/bin:$PATH
1414+1515+install:
1616+ - cabal --version
1717+ - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
1818+ - travis_retry cabal update
1919+ - git submodule update --init
2020+ - cabal sandbox init
2121+ - CABAL_SOURCES=$(find lib -maxdepth 4 ! -path lib/\*/bin/\* ! -path lib/\*/lib/\* -name \*.cabal | xargs -L 1 dirname)
2222+ - for CABAL_SOURCE in $CABAL_SOURCES; do cabal sandbox add-source -- $CABAL_SOURCE; done
2323+2424+ - cabal install --enable-tests --enable-benchmarks
2525+2626+notifications:
2727+ email: false
2828+2929+# Here starts the actual work to be performed for the package under test; any command which exits with a non-zero exit code causes the build to fail.
3030+script:
3131+ - cabal build
3232+ - cabal test --show-details=streaming
3333+
+2
README.md
···11Grenade
22=======
3344+[](https://travis-ci.org/HuwCampbell/grenade)
55+46```
57First shalt thou take out the Holy Pin, then shalt thou count to three, no more, no less.
68Three shall be the number thou shalt count, and the number of the counting shall be three.