summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..83b7ba7
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,33 @@
+---
+
+build: off
+
+before_test:
+ - set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
+
+ - curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
+ - 7z x stack.zip stack.exe
+
+clone_folder: "c:\\stack"
+environment:
+ global:
+ STACK_ROOT: "c:\\sr"
+
+test_script:
+ - stack setup > nul
+ - echo "" | stack --no-terminal install
+ - ps: Get-ChildItem . -name -recurse tomlcheck.exe
+ - echo $APPVEYOR_REPO_TAG_NAME
+
+deploy:
+ artifact: C:\\stack\\.stack-work\\install\\afd8a623\\bin\\tomlcheck.exe
+ provider: GitHub
+ on:
+ apveyor_repo_tag: true
+ auth_token:
+ secure: 0qzMr6xmEwRoj/9TJOgDuW/LXWfGVM/4A7kvAXGe0BAwWCF13AWE2SARrYkyc3ji
+
+branches:
+ only:
+ # Release tags
+ - /\d+\.\d+\.\d+\.\d+.*$/