Skip to content

Commit 85d472e

Browse files
committed
Add appveyor to check Windows builds
1 parent d035a49 commit 85d472e

File tree

4 files changed

+52
-3
lines changed

4 files changed

+52
-3
lines changed

.Rbuildignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@
1212
^NEWS\.md$
1313
^cran-comments\.md$
1414
^_build\.sh$
15+
^appveyor\.yml$

.gitattributes

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
* text=auto
2+
data/* binary
3+
src/* text=lf
4+
R/* text=lf

README.Rmd

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ output: github_document
66

77
------------------------------------------------------------------------
88

9-
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/infer)](https://cran.r-project.org/package=infer)
10-
[![Travis-CI Build Status](https://travis-ci.org/andrewpbray/infer.svg?branch=master)](https://travis-ci.org/andrewpbray/infer)
11-
[![Coverage Status](https://img.shields.io/codecov/c/github/andrewpbray/infer/master.svg)](https://codecov.io/github/andrewpbray/infer/?branch=master)
9+
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/infer)](https://cran.r-project.org/package=infer) [![Travis-CI Build Status](https://travis-ci.org/andrewpbray/infer.svg?branch=master)](https://travis-ci.org/andrewpbray/infer) [![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/andrewpbray/infer?branch=master&svg=true)](https://ci.appveyor.com/project/andrewpbray/infer) [![Coverage Status](https://img.shields.io/codecov/c/github/andrewpbray/infer/master.svg)](https://codecov.io/github/andrewpbray/infer/?branch=master)
1210

1311

1412
The objective of this package is to perform statistical inference using an expressive statistical grammar that coheres with the `tidyverse` design framework.

appveyor.yml

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
# Adapt as necessary starting from here
14+
15+
environment:
16+
global:
17+
WARNINGS_ARE_ERRORS: 1
18+
19+
build_script:
20+
- travis-tool.sh install_deps
21+
22+
test_script:
23+
- travis-tool.sh run_tests
24+
25+
on_failure:
26+
- 7z a failure.zip *.Rcheck\*
27+
- appveyor PushArtifact failure.zip
28+
29+
artifacts:
30+
- path: '*.Rcheck\**\*.log'
31+
name: Logs
32+
33+
- path: '*.Rcheck\**\*.out'
34+
name: Logs
35+
36+
- path: '*.Rcheck\**\*.fail'
37+
name: Logs
38+
39+
- path: '*.Rcheck\**\*.Rout'
40+
name: Logs
41+
42+
- path: '\*_*.tar.gz'
43+
name: Bits
44+
45+
- path: '\*_*.zip'
46+
name: Bits

0 commit comments

Comments
 (0)