Skip to content

Commit

Permalink
Update docs and integration tests to use LTS 6
Browse files Browse the repository at this point in the history
  • Loading branch information
borsboom committed May 31, 2016
1 parent 7f7cead commit c8cd107
Show file tree
Hide file tree
Showing 20 changed files with 28 additions and 28 deletions.
4 changes: 2 additions & 2 deletions doc/GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -1925,7 +1925,7 @@ matrix:
compiler: ": #stack 7.10.2"
addons: {apt: {packages: [ghc-7.10.2], sources: [hvr-ghc]}}
- env: BUILD=stack ARGS="--resolver lts-5"
- env: BUILD=stack ARGS="--resolver lts-6"
compiler: ": #stack 7.10.3"
addons: {apt: {packages: [ghc-7.10.3], sources: [hvr-ghc]}}
Expand All @@ -1947,7 +1947,7 @@ matrix:
compiler: ": #stack 7.10.2 osx"
os: osx
- env: BUILD=stack ARGS="--resolver lts-5"
- env: BUILD=stack ARGS="--resolver lts-6"
compiler: ": #stack 7.10.3 osx"
os: osx
Expand Down
2 changes: 1 addition & 1 deletion etc/docker/stack-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ RUN rm $HOME/.gnupg/*.asc $HOME/.gnupg/trust

# INSTALL STACK, BOOTSTRAP LTS & GHC & UNINSTALL STACK
RUN bash -lc 'nix-env -i stack ghc'
RUN bash -lc 'stack setup --resolver=lts-5.15'
RUN bash -lc 'stack setup --resolver=lts-6.0'

# SET THE DEFAULT PROFILE TO GPG 1.4
RUN bash -lc 'nix-env -S /nix/var/nix/profiles/gpg14'
Expand Down
2 changes: 1 addition & 1 deletion etc/scripts/release.hs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ rules global@Global{..} args = do
["--local-bin-path=" ++ tmpDir]
() <- cmd0 $ concat $ concat
[["install --pedantic --no-haddock-deps"], [" --haddock" | gTestHaddocks]]
() <- cmd0 "install --resolver=lts-5.0 cabal-install"
() <- cmd0 "install --resolver=lts-6.0 cabal-install"
let cmd' = cmd (AddPath [tmpDir] []) stackProgName (stackArgs global) gBuildArgs
() <- cmd' "test --pedantic --flag stack:integration-tests"
return ()
Expand Down
2 changes: 1 addition & 1 deletion etc/scripts/stack.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-5.0
resolver: lts-6.0
14 changes: 7 additions & 7 deletions stack.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ library
, binary-tagged >= 0.1.1
, blaze-builder
, byteable
, bytestring
, bytestring >= 0.10.4.0
, conduit >= 1.2.4
, conduit-extra >= 1.1.7.1
, containers >= 0.5.5.1
Expand Down Expand Up @@ -241,9 +241,9 @@ executable stack
, base >=4.7 && < 5
, bytestring >= 0.10.4.0
, containers >= 0.5.5.1
, directory
, directory >= 1.2.1.0
, filelock >= 0.1.0.1
, filepath
, filepath >= 1.3.0.2
, hpack
, http-client
, lifted-base
Expand Down Expand Up @@ -290,7 +290,7 @@ test-suite stack-test
, conduit-extra
, containers >= 0.5.5.1
, cryptohash
, directory
, directory >= 1.2.1.0
, exceptions
, hspec <2.3
, http-conduit
Expand Down Expand Up @@ -323,12 +323,12 @@ test-suite stack-integration-test

build-depends: async < 2.2
, base >= 4.7 && < 5
, bytestring
, bytestring >= 0.10.4.0
, conduit
, conduit-extra
, containers >= 0.5.5.1
, directory
, filepath
, directory >= 1.2.1.0
, filepath >= 1.3.0.2
, hspec < 2.3
, process >= 1.2.0.0 && < 1.5
, resourcet
Expand Down
2 changes: 1 addition & 1 deletion test/integration/lib/StackTest.hs
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ isMacOSX = os == "darwin"
-- version is released, pass this argument to @stack@ when running in
-- a global context. The LTS major version here should match that of
-- the main @stack.yaml@.
defaultResolverArg = "--resolver=lts-5"
defaultResolverArg = "--resolver=lts-6.0"
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resolver: lts-5.11
resolver: lts-6.0
drop-packages:
- zlib
- zlib
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-5.0
resolver: lts-6.0
packages:
- '.'
extra-deps: []
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
packages:
- https://hackage.haskell.org/package/half-0.2.2.3/half-0.2.2.3.tar.gz
extra-deps: []
resolver: lts-5.0
resolver: lts-6.0
2 changes: 1 addition & 1 deletion test/integration/tests/32-unlisted-module/files/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-5.0
resolver: lts-6.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-5.0
resolver: lts-6.0
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-5.0
resolver: lts-6.0
extra-deps:
- bytestring-0.10.6.0
packages:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-5.0
resolver: lts-6.0
2 changes: 1 addition & 1 deletion test/integration/tests/366-non-root-dir/files/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-5.0
resolver: lts-6.0
Original file line number Diff line number Diff line change
@@ -1 +1 @@
resolver: lts-5.0
resolver: lts-6.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-5.0
resolver: lts-6.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ flags: {}
packages:
- '.'
extra-deps: []
resolver: lts-5.0
resolver: lts-6.0
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
resolver: lts-5.0
resolver: lts-6.0
packages: []
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
resolver: lts-5.0
resolver: lts-6.0
packages:
- auto-update-0.1.2.1
2 changes: 1 addition & 1 deletion test/integration/tests/multi-test/files/stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ packages:
- sub-package
- cyclic
extra-deps: []
resolver: lts-5.0
resolver: lts-6.0

0 comments on commit c8cd107

Please sign in to comment.