Commit e9984f40 authored by Michael Sloan's avatar Michael Sloan Committed by Mikhail Glushenkov

Use downloaded version of stack in travis CI

parent 98a143ee
......@@ -73,7 +73,8 @@ else # Stack-based builds
mkdir -p ~/.local/bin
travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 \
| tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
stack setup --stack-yaml "$STACK_CONFIG"
~/.local/bin/stack --version
~/.local/bin/stack setup --stack-yaml "$STACK_CONFIG"
fi
......
......@@ -12,7 +12,9 @@ fi
# Build Cabal via Stack(age).
# ---------------------------------------------------------------------
stack build \
~/.local/bin/stack --version
~/.local/bin/stack build \
--no-terminal \
--stack-yaml "$STACK_CONFIG" \
--test \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment