From 769d9a145770f7450e5f0cbf05f3c321f25c0388 Mon Sep 17 00:00:00 2001 From: Gavin Simpson Date: Sat, 11 Oct 2014 13:58:04 -0600 Subject: [PATCH] add appveyor CI support --- .Rbuildignore | 2 ++ .gitattributes | 5 +++++ appveyor.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 .gitattributes create mode 100644 appveyor.yml diff --git a/.Rbuildignore b/.Rbuildignore index cad15cf3..9c448183 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,3 +1,5 @@ LICENSE ^\.travis\.yml$ +^travis-tool\.sh +^appveyor\.yml$ diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..cfd773e7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +* text=auto +data/* binary +src/* text=lf +R/* text=lf + diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..c7baac2f --- /dev/null +++ b/appveyor.yml @@ -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