Skip to content

Commit

Permalink
updated: .travis.yml: use latest cabal and GHC
Browse files Browse the repository at this point in the history
  • Loading branch information
ncaq committed Mar 4, 2020
1 parent a2beaa4 commit 9ff299f
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
sudo: false
dist: bionic
language: generic

addons:
apt:
sources:
- hvr-ghc
packages:
- libgmp-dev
- ghc-8.0.1
- cabal-install-1.24

before_install:
- unset CC
# workaround Disallowing sources: hvr-ghc
- sudo add-apt-repository ppa:hvr/ghc -y
- sudo apt-get update -q
- sudo apt-get install ghc-8.8.3 cabal-install-2.4 -y
- export PATH="$HOME/.cabal/bin:/opt/ghc/bin:/opt/cabal/bin:$PATH"

install:
- export PATH=/opt/cabal/1.24/bin:/opt/ghc/8.0.1/bin:$PATH
- travis_retry cabal update
- cabal install --only-dependencies -fexamples --enable-tests

script:
- cabal configure -fexamples --enable-tests && cabal build

0 comments on commit 9ff299f

Please sign in to comment.