packages feed

ats-pkg-0.1.0.0: appveyor.yml

---

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 ats-pkg.exe
  - ps: Copy-Item c:\\stack\\.stack-work\\install\\afd8a623\\bin\\ats-pkg.exe ats-pkg-x86_64-pc-windows.exe
  - ps: Push-AppveyorArtifact ats-pkg-x86_64-pc-windows.exe

deploy:
  artifacts: ats-pkg-x86_64-pc-windows.exe
  provider: GitHub
  on:
    appveyor_repo_tag: true
  auth_token:
    secure: 0qzMr6xmEwRoj/9TJOgDuW/LXWfGVM/4A7kvAXGe0BAwWCF13AWE2SARrYkyc3ji

branches:
  only:
    # Release tags
    - master
    - /\d+\.\d+\.\d+\.\d+.*$/