Permalink
Browse files

add appveyor CI support

  • Loading branch information...
1 parent 53c6120 commit 769d9a145770f7450e5f0cbf05f3c321f25c0388 @gavinsimpson gavinsimpson committed Oct 11, 2014
Showing with 51 additions and 0 deletions.
  1. +2 −0 .Rbuildignore
  2. +5 −0 .gitattributes
  3. +44 −0 appveyor.yml
View
@@ -1,3 +1,5 @@
LICENSE
^\.travis\.yml$
+^travis-tool\.sh
+^appveyor\.yml$
View
@@ -0,0 +1,5 @@
+* text=auto
+data/* binary
+src/* text=lf
+R/* text=lf
+
View
@@ -0,0 +1,44 @@
+# DO NOT CHANGE the "init" and "install" sections below
+
+environment:
+ R_CHECK_ARGS: --no-build-vignettes --no-manual
+
+# 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
+
+build_script:
+ - travis-tool.sh install_deps
+
+test_script:
+ - travis-tool.sh run_tests
+
+on_failure:
+ - travis-tool.sh dump_logs
+
+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 769d9a1

Please sign in to comment.