Skip to content

Commit

Permalink
Binaries and deployment for Windows using appveyor.
Browse files Browse the repository at this point in the history
  • Loading branch information
rubak committed Apr 1, 2016
1 parent b89dc2e commit 9f57e42
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ README.md
\.gcov$
\.gcda$
\.gcno$
^appveyor\.yml$
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
* text=auto
data/* binary
src/* text=lf
R/* text=lf
56 changes: 56 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# DO NOT CHANGE the "init" and "install" sections below

# Download script file from GitHub
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1'
install:
ps: Bootstrap

# Adapt as necessary starting from here

environment:
global:
WARNINGS_ARE_ERRORS: 1

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

deploy:
provider: GitHub
auth_token:
secure: TAti5R3iqVWn6zyRuWY/0YbgmJs+5M2Ipync4rs9UdyszqOtK7gzgCS1yWCJIrMK
artifact: /\*_*.zip/
on:
branch: master
appveyor_repo_tag: true

0 comments on commit 9f57e42

Please sign in to comment.