@@ -2,30 +2,29 @@
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.
44env:
5− - CABALVER=1.24 GHCVER=8.0.2
6− - CABALVER=2.0 GHCVER=8.2.2
7− - CABALVER=2.0 GHCVER=8.4.4
8− - CABALVER=2.0 GHCVER=8.6.5
5+ - GHCVER=8.0.2
6+ - GHCVER=8.2.2
7+ - GHCVER=8.4.4
8+ - GHCVER=8.6.5
9+ - GHCVER=8.8.2
910
1011# Note: the distinction between `before_install` and `install` is not important.
1112before_install:
1213 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
1314 - travis_retry sudo apt-get update
14− - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER happy-1.19.5 alex-3.1.7 libblas-dev liblapack-dev
15− - 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
15+ - travis_retry sudo apt-get install cabal-install-3.0 ghc-$GHCVER libblas-dev liblapack-dev
16+ - export PATH=/opt/cabal/bin:/opt/ghc/$GHCVER/bin:$PATH
1617
1718install:
18− - cabal --version
1919 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
20− - travis_retry cabal update
21− - cabal sandbox init
22− - cabal install --enable-tests --enable-benchmarks
20+ - travis_retry cabal-3.0 update
2321
2422notifications:
2523 email: false
2624
2725# 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.
2826script:
29− - cabal build
30− - cabal test --show-details=streaming
27+ - cabal-3.0 configure --enable-tests
28+ - cabal-3.0 build all
29+ - cabal-3.0 test --test-show-details=direct -j1
3130