From 93d23762b3a627717b7cd1a74c99ee2a0385c47d Mon Sep 17 00:00:00 2001 From: Nikolay Yakimov Date: Wed, 3 Aug 2016 16:43:48 +0300 Subject: [PATCH] Add --no-terminal to stack invocations --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1894ea7..48eb43f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,16 +22,16 @@ before_install: install: # - git clone --depth=1 https://github.com/DanielG/cabal-helper.git - - stack setup --resolver=ghc-$GHCVER - - stack install cabal-install --resolver=$RES + - stack --no-terminal setup --resolver=ghc-$GHCVER + - stack --no-terminal install cabal-install --resolver=$RES - cabal update - - stack install happy --resolver=$RES + - stack --no-terminal install happy --resolver=$RES # - stack init --ignore-subdirs --resolver=ghc-$GHCVER ./ cabal-helper/ # - stack init --ignore-subdirs --resolver=ghc-$GHCVER ./ - | resf="ghc-$GHCVER.yaml" echo "resolver: ghc-$GHCVER" > "$resf" - stack solver --update-config --stack-yaml="$resf" + stack --no-terminal solver --update-config --stack-yaml="$resf" sed -i 's/^resolver:/compiler:/;s/^extra-deps:/packages:/' "$resf" echo "resolver: { name: 'ghc-$GHCVER', location: './$resf' }" > stack.yaml ir=$( stack path --snapshot-install-root ) @@ -42,8 +42,8 @@ install: script: - cabal check - - stack build - - stack test ghc-mod:spec + - stack --no-terminal build --test --no-run-tests + - stack --no-terminal test ghc-mod:spec matrix: matrix: