Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
add appveyor conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentGatto committed Jan 3, 2017
1 parent dce06e0 commit 82b6694
Showing 1 changed file with 60 additions and 0 deletions.
60 changes: 60 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#----------------------------------------------------------------
# AppVeyor configuration for R packages
#
# REFERENCES:
# * AppVeyor CI: https://ci.appveyor.com/
# * r-travis: https://github.com/craigcitro/r-travis
#
# Validate your .appveyor.yml file at
# https://ci.appveyor.com/tools/validate-yaml
#----------------------------------------------------------------
environment:
_R_CHECK_FORCE_SUGGESTS_: true
R_VERSION: release

# DO NOT CHANGE the "init" and "install" sections below

# Download script file from GitHub
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest http://raw.github.com/HenrikBengtsson/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:
- echo Current directory=%CD%
- travis-tool.sh install_r testthat httr scales
- travis-tool.sh install_bioc BiocStyle

test_script:
- travis-tool.sh run_tests

after_test:
- 7z a all-Rout.zip *.Rcheck\**\*.Rout *.Rcheck\**\*.fail

artifacts:
- path: '*.Rcheck\**\*.log'
name: Logs

- path: '*.Rcheck\**\*.out'
name: Logs

- path: '*.Rcheck\**\*.fail'
name: Logs

- path: '*.Rcheck\**\*.Rout'
name: Logs

- path: all-Rout.zip
name: AllRout

- path: '\*_*.tar.gz'
name: Bits

- path: '\*_*.zip'
name: Bits

0 comments on commit 82b6694

Please sign in to comment.