forked from haskell/parsec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
build: off | ||
|
||
before_test: | ||
# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found | ||
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH% | ||
|
||
- curl -sS -ostack.zip -L --insecure https://get.haskellstack.org/stable/windows-x86_64.zip | ||
- 7z x stack.zip stack.exe | ||
|
||
clone_folder: "c:\\stack" | ||
environment: | ||
global: | ||
STACK_ROOT: "c:\\sr" | ||
|
||
# Override the temp directory to avoid sed escaping issues | ||
# See https://github.com/haskell/cabal/issues/5386 | ||
TMP: "c:\\tmp" | ||
|
||
test_script: | ||
|
||
# Install toolchain, but do it silently due to lots of output | ||
- stack %ARGS% setup > nul | ||
|
||
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file | ||
# descriptor | ||
- echo "" | stack --no-terminal test |