on master help sign in
travis: Really switch to cabal-3.2
f19da0fErik de Castro Lopo
.travis.yml+5−5
@@ -13,19 +13,19 @@ env:
13before_install:
13before_install:
14 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
14 - travis_retry sudo add-apt-repository -y ppa:hvr/ghc
15 - travis_retry sudo apt-get update
15 - travis_retry sudo apt-get update
16− - travis_retry sudo apt-get install cabal-install-3.0 ghc-$GHCVER libblas-dev liblapack-dev
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
17 - export PATH=/opt/cabal/bin:/opt/ghc/$GHCVER/bin:$PATH
18
18
19install:
19install:
20 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
20 - echo "$(ghc --version) [$(ghc --print-project-git-commit-id 2> /dev/null || echo '?')]"
21− - travis_retry cabal-3.0 update
21+ - travis_retry cabal-3.2 update
22
22
23notifications:
23notifications:
24 email: false
24 email: false
25
25
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.
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:
27script:
28− - cabal-3.0 configure --enable-tests
28+ - cabal-3.2 configure --enable-tests
29− - cabal-3.0 build all
29+ - cabal-3.2 build all
30− - cabal-3.0 test --test-show-details=direct -j1
30+ - cabal-3.2 test --test-show-details=direct -j1
31
31