Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed: support ghc-8.8.2 and lts-15.2 #266

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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
26 changes: 17 additions & 9 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
- libgmp-dev

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
- travis_retry cabal update
- cabal install --only-dependencies -fexamples --enable-tests

script:
- cabal configure -fexamples --enable-tests && cabal build
- cabal configure -fexamples --enable-tests && cabal build
2 changes: 1 addition & 1 deletion aws.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Library
Build-depends: network == 3.*, network-bsd == 2.8.*
else
Build-depends: network == 2.*

if !impl(ghc >= 7.6)
Build-depends: ghc-prim

Expand Down
2 changes: 1 addition & 1 deletion stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# resolver:
# name: custom-snapshot
# location: "./custom-snapshot.yaml"
resolver: lts-11.9
resolver: lts-15.2

# User packages to be built.
# Various formats can be used as shown in the example below.
Expand Down