Skip to content

Commit

Permalink
Start AppVeyor
Browse files Browse the repository at this point in the history
See #2
  • Loading branch information
wibeasley committed Mar 2, 2017
1 parent 370e3d4 commit 216ec23
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# stanirs
Package for working with fNIRS files

Master Builds: [![Build Status](https://travis-ci.org/cibsr/stanirs.svg?branch=master)](https://travis-ci.org/cibsr/stanirs)
Master Builds: [![Build Status](https://travis-ci.org/cibsr/stanirs.svg?branch=master)](https://travis-ci.org/cibsr/stanirs) [![Build status](https://ci.appveyor.com/api/projects/status/27c43hiyr58wuenc/branch/master?svg=true)](https://ci.appveyor.com/project/andkov/stanirs/branch/master)

Dev Builds: [![Build Status](https://travis-ci.org/cibsr/stanirs.svg?branch=dev)](https://travis-ci.org/cibsr/stanirs)
Dev Builds: [![Build Status](https://travis-ci.org/cibsr/stanirs.svg?branch=dev)](https://travis-ci.org/cibsr/stanirs) [![Build status](https://ci.appveyor.com/api/projects/status/27c43hiyr58wuenc/branch/dev?svg=true)](https://ci.appveyor.com/project/andkov/stanirs/branch/dev)
44 changes: 44 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# DO NOT CHANGE the "init" and "install" sections below
cache:
- C:\RLibrary

# Download script file from GitHub
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest https://raw.githubusercontent.com/jimhester/r-appveyor/patch-1/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1'
install:
ps: Bootstrap

# Adapt as necessary starting from here

build_script:
- travis-tool.sh install_deps

test_script:
- travis-tool.sh run_tests

on_failure:
- 7z a failure.zip *.Rcheck\*
- appveyor PushArtifact failure.zip

artifacts:
- path: '*.Rcheck\**\*.log'
name: Logs

- path: '*.Rcheck\**\*.out'
name: Logs

- path: '*.Rcheck\**\*.fail'
name: Logs

- path: '*.Rcheck\**\*.Rout'
name: Logs

- path: '\*_*.tar.gz'
name: Bits

- path: '\*_*.zip'
name: Bits

0 comments on commit 216ec23

Please sign in to comment.