Skip to content

Commit b608480

Browse files
adding appveyor support
1 parent 0bb531e commit b608480

File tree

3 files changed

+46
-1
lines changed

3 files changed

+46
-1
lines changed

.Rbuildignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ tutorials
44
^\.travis\.yml$
55
^.*\.Rproj$
66
^\.Rproj\.user$
7-
.*.tar.gz$
7+
.*.tar.gz$
8+
^appveyor\.yml$

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
[![Travis-CI Build Status](https://travis-ci.org/thibautjombart/adegenet.png?branch=master)](https://travis-ci.org/thibautjombart/adegenet)
22

3+
[![Build status](https://ci.appveyor.com/api/projects/status/l7a9k1saqnshakk9/branch/master?svg=true)](https://ci.appveyor.com/project/thibautjombart/adegenet/branch/master)
4+
35
[![CRAN Status Badge](http://www.r-pkg.org/badges/version/adegenet)](https://cran.r-project.org/package=adegenet)
46

57
[![CRAN Downloads](https://cranlogs.r-pkg.org/badges/adegenet)](https://cran.r-project.org/package=adegenet)

appveyor.yml

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

0 commit comments

Comments
 (0)