Skip to content

Commit e85ce52

Browse files
committed
travis: Use cabal version 3.0
1 parent 2cd823e commit e85ce52

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.travis.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,16 @@ env:
1414
before_install:
1515
- sudo add-apt-repository -y ppa:hvr/ghc
1616
- sudo apt-get update
17-
- sudo apt-get install alex-3.1.7 happy-1.19.5 cabal-install-1.24 ghc-$GHCVER
17+
- sudo apt-get install alex-3.1.7 happy-1.19.5 cabal-install-3.0 ghc-$GHCVER
1818
- export PATH=/opt/cabal/bin:/opt/ghc/$GHCVER/bin:/opt/alex/3.1.7/bin:/opt/happy/1.19.5/bin:$PATH
1919

2020
install:
21-
- cabal-1.24 update
22-
- cabal-1.24 install --only-dependencies --enable-tests;
21+
- cabal-3.0 update
2322

2423
script:
25-
- cabal-1.24 configure --enable-tests
26-
- cabal-1.24 build
27-
- dist/build/testsuite/testsuite
28-
- cabal-1.24 check
29-
- cabal-1.24 haddock
30-
- cabal-1.24 sdist
24+
- cabal-3.0 configure --enable-tests
25+
- cabal-3.0 build
26+
- cabal-3.0 test --test-show-details=streaming
27+
- cabal-3.0 check
28+
- cabal-3.0 haddock
29+
- cabal-3.0 sdist

0 commit comments

Comments
 (0)