Skip to content

Commit

Permalink
[ stackage ] Update resolver for ghc-8.6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
L-TChen committed Oct 14, 2019
1 parent dd96957 commit 6e11a01
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,20 @@ branches:
- "/^release-.*/"
git:
submodules: false

env:
global:
- BIN=fix-agda-whitespace
- BIN=fix-whitespace
matrix:
- GHC_VER=8.6.5
- GHC_VER=8.4.4
- GHC_VER=8.2.2
- GHC_VER=8.0.2

cache:
directories:
- "$HOME/.stack"

before_install:
- sudo -E apt-add-repository -y "ppa:hvr/ghc"
- travis_apt_get_update
Expand All @@ -30,16 +33,20 @@ before_install:
- export ARGS="--stack-yaml stack-${GHC_VER}.yaml --no-terminal --system-ghc"
- echo "*** GHC version ***" && ghc --version && echo "*** Stack version ***" &&
stack --version

install:
- stack build ${ARGS} --only-dependencies
- stack build ${ARGS}

script:
- stack exec ${ARGS} -- ${BIN} --check

before_deploy:
- rm *.lock
- stack install ${ARGS} --local-bin-path .
- strip ${BIN}
- gzip ${BIN}

deploy:
provider: releases
skip_cleanup: true
Expand Down
2 changes: 1 addition & 1 deletion stack-8.6.5.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-14.6
resolver: lts-14.9

packages:
- .

0 comments on commit 6e11a01

Please sign in to comment.