travis: Really switch to cabal-3.2

This commit is contained in:
Erik de Castro Lopo 2020-04-11 11:18:46 +10:00
parent da43a26f72
commit f19da0f74d

View File

@ -13,19 +13,19 @@ env:
before_install:
- travis_retry sudo add-apt-repository -y ppa:hvr/ghc
- travis_retry sudo apt-get update
- travis_retry sudo apt-get install cabal-install-3.0 ghc-$GHCVER libblas-dev liblapack-dev
- travis_retry sudo apt-get install cabal-install-3.2 ghc-$GHCVER libblas-dev liblapack-dev
- export PATH=/opt/cabal/bin:/opt/ghc/$GHCVER/bin:$PATH
install:
- echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
- travis_retry cabal-3.0 update
- travis_retry cabal-3.2 update
notifications:
email: false
# 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.
script:
- cabal-3.0 configure --enable-tests
- cabal-3.0 build all
- cabal-3.0 test --test-show-details=direct -j1
- cabal-3.2 configure --enable-tests
- cabal-3.2 build all
- cabal-3.2 test --test-show-details=direct -j1