Skip to content

Commit 7d155a6

Browse files
committed
add appveyor
1 parent 8c9ee60 commit 7d155a6

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
^appveyor\.yml$
12
^docs$
23
^_pkgdown\.yml$
34
^codecov\.yml$

appveyor.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# DO NOT CHANGE the "init" and "install" sections below
2+
3+
# Download script file from GitHub
4+
init:
5+
ps: |
6+
$ErrorActionPreference = "Stop"
7+
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
8+
Import-Module '..\appveyor-tool.ps1'
9+
10+
install:
11+
ps: Bootstrap
12+
13+
cache:
14+
- C:\RLibrary
15+
16+
# Adapt as necessary starting from here
17+
18+
build_script:
19+
- travis-tool.sh install_deps
20+
21+
test_script:
22+
- travis-tool.sh run_tests
23+
24+
on_failure:
25+
- 7z a failure.zip *.Rcheck\*
26+
- appveyor PushArtifact failure.zip
27+
28+
artifacts:
29+
- path: '*.Rcheck\**\*.log'
30+
name: Logs
31+
32+
- path: '*.Rcheck\**\*.out'
33+
name: Logs
34+
35+
- path: '*.Rcheck\**\*.fail'
36+
name: Logs
37+
38+
- path: '*.Rcheck\**\*.Rout'
39+
name: Logs
40+
41+
- path: '\*_*.tar.gz'
42+
name: Bits
43+
44+
- path: '\*_*.zip'
45+
name: Bits

0 commit comments

Comments
 (0)