mirror of
https://github.com/HuwCampbell/grenade.git
synced 2024-11-24 01:42:43 +03:00
travis: Really switch to cabal-3.2
This commit is contained in:
parent
da43a26f72
commit
f19da0f74d
10
.travis.yml
10
.travis.yml
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user