Skip to content
Snippets Groups Projects
Commit e9984f40 authored by Michael Sloan's avatar Michael Sloan Committed by Mikhail Glushenkov
Browse files

Use downloaded version of stack in travis CI

parent 98a143ee
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment