Skip to content

Commit 3455d3a

Browse files
committed
Add AppVeyor docs
1 parent 2003fb8 commit 3455d3a

File tree

2 files changed

+24
-3
lines changed

2 files changed

+24
-3
lines changed

doc/appveyor.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
build: off
2+
3+
before_test:
4+
# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
5+
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
6+
7+
- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-x86_64
8+
- 7z x stack.zip stack.exe
9+
10+
clone_folder: "c:\\stack"
11+
environment:
12+
global:
13+
STACK_ROOT: "c:\\sr"
14+
15+
test_script:
16+
- stack setup > nul
17+
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
18+
# descriptor
19+
- echo "" | stack --no-terminal test

doc/travis_ci.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ This page documents how to use Stack on
55
familiarity with Travis. We provide two fully baked example files
66
ready to be used on your projects:
77

8-
* [The simple Travis configuration](https://raw.githubusercontent.com/commercialhaskell/stack/master/doc/travis-simple.yml)
8+
* [The simple Travis configuration](https://raw.githubusercontent.com/commercialhaskell/stack/stable/doc/travis-simple.yml)
99
is intended for applications that do not require multiple GHC
1010
support or cross-platform support. It builds and tests your project
1111
with just the settings present in your `stack.yaml` file.
12-
* [The complex Travis configuration](https://raw.githubusercontent.com/commercialhaskell/stack/master/doc/travis-complex.yml)
12+
* [The complex Travis configuration](https://raw.githubusercontent.com/commercialhaskell/stack/stable/doc/travis-complex.yml)
1313
is intended for projects that need to support multiple GHC versions
1414
and multiple OSes, such as open source libraries to be released to
1515
Hackage. It tests against cabal-install, as well as Stack on Linux
@@ -28,7 +28,9 @@ repo, enable Travis on the repo, and you're good to go.
2828

2929
You may also be interested in using AppVeyor, which supports Windows
3030
builds, for more cross-platform testing. There's a
31-
[short blog post available on how to do this](http://www.snoyman.com/blog/2016/08/appveyor-haskell-windows-ci).
31+
[short blog post available on how to do this](http://www.snoyman.com/blog/2016/08/appveyor-haskell-windows-ci),
32+
or just copy in
33+
[the appveyor.yml file](https://raw.githubusercontent.com/commercialhaskell/stack/stable/doc/appveyor.yml)
3234

3335
The rest of this document explains the details of common Travis
3436
configurations for those of you who want to tweak the above

0 commit comments

Comments
 (0)