-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added appveyor.yml file, updated .travis.yml
- Loading branch information
Showing
3 changed files
with
56 additions
and
7 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
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,38 @@ | ||
# Disabled cache in hope of improving reliability of AppVeyor builds | ||
#cache: | ||
#- "c:\\sr" # stack root, short paths == fewer problems | ||
|
||
build: off | ||
|
||
environment: | ||
global: | ||
STACK_ROOT: "c:\\sr" | ||
nodejs_version: "8" | ||
|
||
clone_folder: "c:\\zephyr" | ||
|
||
install: | ||
# 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-i386.zip | ||
- 7z x stack.zip stack.exe | ||
- ps: Install-Product node $env:nodejs_version | ||
- npm install -g bower | ||
- set PATH=%AppData%\npm;%PATH% | ||
|
||
test_script: | ||
- stack setup > nul | ||
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file | ||
# descriptor. | ||
- echo "" | stack --no-nix --no-terminal --jobs 1 build --copy-bins --test --haddock --no-haddock-deps --ta="-m dceExpr -m dceEval" | ||
|
||
deploy: | ||
provider: GitHub | ||
auth_token: | ||
secure: gHIxz3scq98LOgduo20IiKNFcLOmcKHHKH0qI4/z4TawrmbR+MV/rb1mG9GCXf7M | ||
artifact: $(AppData)\local\bin\zephyr | ||
draft: false | ||
prerelease: false | ||
on: | ||
branch: master # release from master branch only | ||
appveyor_repo_tag: true # deploy on tag push only |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
flags: {} | ||
extra-package-dbs: [] | ||
nix: | ||
enable: true | ||
enable: false | ||
shell-file: shell.nix | ||
packages: | ||
- . | ||
|