[commit: packages/process] better-travis: Simpler stack.yaml creation (839cf9f)

git at git.haskell.org git at git.haskell.org
Thu Apr 7 12:04:25 UTC 2016


Repository : ssh://git@git.haskell.org/process

On branch  : better-travis
Link       : http://ghc.haskell.org/trac/ghc/changeset/839cf9fdc38d45e361fecb2ba6c1c0c07db2a23f/process

>---------------------------------------------------------------

commit 839cf9fdc38d45e361fecb2ba6c1c0c07db2a23f
Author: Michael Snoyman <michael at snoyman.com>
Date:   Sun Jan 24 15:36:41 2016 +0200

    Simpler stack.yaml creation


>---------------------------------------------------------------

839cf9fdc38d45e361fecb2ba6c1c0c07db2a23f
 .travis.yml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 6756dbf..c5ddc91 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -74,8 +74,7 @@ install:
  - autoreconf -i
  - case "$BUILD" in
      stack)
-       rm -f stack.yaml;
-       stack init --resolver ghc-$GHCVER;
+       echo "resolver: ghc-$GHCVER" > stack.yaml;
        stack --no-terminal test --only-dependencies;;
      cabal)
        cabal --version;



More information about the ghc-commits mailing list