on iko/nfdata help sign in
grenade/.travis.yml
31 lines 1.1 kB history raw
1# NB: don't set `language: haskell` here
3# 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.
4env:
5 - GHCVER=8.0.2
6 - GHCVER=8.2.2
7 - GHCVER=8.4.4
8 - GHCVER=8.6.5
9 - GHCVER=8.8.3
10 - GHCVER=8.10.1
12# Note: the distinction between `before_install` and `install` is not important.
13before_install:
14 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
15 - travis_retry sudo apt-get update
16 - travis_retry sudo apt-get install cabal-install-3.2 ghc-$GHCVER libblas-dev liblapack-dev
17 - export PATH=/opt/cabal/bin:/opt/ghc/$GHCVER/bin:$PATH
19install:
20 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
21 - travis_retry cabal-3.2 update
23notifications:
24 email: false
26# 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.
27script:
28 - cabal-3.2 configure --enable-tests
29 - cabal-3.2 build all
30 - cabal-3.2 test --test-show-details=direct -j1