-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
71 lines (61 loc) · 2.72 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# DO NOT CHANGE the "init" and "install" sections below
# Download script file from GitHub
init:
ps: |
$ErrorActionPreference = "Stop"
Invoke-WebRequest https://raw.githubusercontent.com/rickhelmus/r-appveyor/rtools43/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
Import-Module '..\appveyor-tool.ps1'
install:
ps: Bootstrap
cache:
#- C:\RLibrary
# Adapt as necessary starting from here
platform: x64
environment:
R_ARCH: x64
BIOC_USE_DEVEL: FALSE
USE_RTOOLS: true
R_REMOTES_STANDALONE: true
R_REMOTES_UPGRADE: never
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
access_token:
secure: xfAjJeVdFHYHtpdnjCfZDlJPgEkn+tSBaNNFYNZTk+ttxONOIKpV7NIeZWfa4TIf
GITHUB_PAT:
secure: VNNpZ/vmYAXvbXKtPfD/JNj4PPJOgbyUGMowVtH0Q//HULJrlOo62MWSuhksQ2MR
matrix:
- R_VERSION: stable
- R_VERSION: oldrel
matrix:
fast_finish: true
build_script:
#- travis-tool.sh install_deps
- ps: .\get_artifact.ps1
- travis-tool.sh install_r miniCRAN git2r devtools BiocManager rversions
- travis-tool.sh install_bioc Rdisop GenomeInfoDbData # sometimes needed as dependency may not be picked up...
- travis-tool.sh install_bioc ropls # For KPIC2
# - travis-tool.sh install_bioc InterpretMSSpectrum # For RAMClustR
- travis-tool.sh install_github cran/[email protected] # workaround for https://github.com/cbroeckl/RAMClustR/issues/48
- travis-tool.sh install_bioc xcms qlcMatrix # for cliqueMS
#- travis-tool.sh install_github cbroeckl/RAMClustR # pull-in necessary deps
- travis-tool.sh install_r RAMClustR
- travis-tool.sh install_github blosloos/nontargetData
- travis-tool.sh install_github blosloos/nontarget
- travis-tool.sh install_github rickhelmus/KPIC2 # pull-in necessary deps
- travis-tool.sh install_github souravc83/fastAdaboost # For Metaclean, removed from CRAN (9/22)
- travis-tool.sh install_github KelseyChetnik/MetaClean # pull-in necessary deps
test_script:
#- travis-tool.sh run_tests
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
- Rscript make_repos.R
- mkdir c:\Projects\Rpkgs
- Rscript -e ".libPaths(c('C:\\Projects\\Rpkgs', .libPaths())); install.packages(c('patRoon', 'patRoonData'), repos = 'file:.', type = 'binary')"
on_success:
- git config --global credential.helper store
- ps: Add-Content "$HOME\.git-credentials" "https://$($env:access_token):[email protected]`n"
- git config --global user.email "[email protected]"
- git config --global user.name "AppVeyor auto build"
- git checkout master
- git add bin/
- git commit -m "automatic update [skip ci]"
- git status
- git push origin master