Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ env:
- GHCVER=8.2.2
- GHCVER=8.4.4
- GHCVER=8.6.5
- GHCVER=8.8.1
- GHCVER=8.8.3
- GHCVER=8.10.1

before_install:
- sudo add-apt-repository -y ppa:hvr/ghc
- sudo apt-get update
- sudo apt-get install cabal-install-1.24 ghc-$GHCVER
- sudo apt-get install cabal-install-3.2 ghc-$GHCVER
- export PATH=/opt/cabal/bin:/opt/ghc/$GHCVER/bin:$PATH

install:
- cabal-1.24 update
- cabal-1.24 install --constraint "vector +unsafechecks" --only-dependencies --enable-tests --enable-benchmarks
- cabal-3.2 update

script:
- cabal-1.24 configure --enable-tests --enable-benchmarks
- cabal-1.24 build
- cabal-1.24 test --show-details=streaming
- cabal-1.24 haddock
- cabal-1.24 sdist
- cabal-3.2 configure --enable-tests --enable-benchmarks
- cabal-3.2 build
- cabal-3.2 test --test-show-details=streaming -j1
- cabal-3.2 haddock
- cabal-3.2 sdist


8 changes: 8 additions & 0 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
packages:
./

-- Build all tests by default
tests: True

-- Show full test output
test-show-details: direct