@@ -12,37 +12,27 @@ init:
1212 $ErrorActionPreference = "Stop"
1313 Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
1414 Import-Module '..\appveyor-tool.ps1'
15-
1615install :
17- - ps : Bootstrap
18- - cmd : R -q -e "writeLines('options(repos = \'https://cloud.r-project.org\')', '~/.Rprofile')"
19- - cmd : R -q -e "getOption('repos')"
20- - cmd : R -q -e "install.packages('remotes'); remotes::install_github('ropenscilabs/tic'); tic::prepare_all_stages()"
16+ ps : Bootstrap
2117
2218cache :
23- - C:\RLibrary
24-
25- before_build : R -q -e "tic::before_install()"
26- build_script : R -q -e "tic::install()"
27- after_build : R -q -e "tic::after_install()"
28- before_test : R -q -e "tic::before_script()"
29- test_script : R -q -e "tic::script()"
30- on_success : R -q -e "try(tic::after_success(), silent = TRUE)"
31- on_failure : R -q -e "tic::after_failure()"
32- before_deploy : R -q -e "tic::before_deploy()"
33- deploy_script : R -q -e "tic::deploy()"
34- after_deploy : R -q -e "tic::after_deploy()"
35- on_finish : R -q -e "tic::after_script()"
19+ - C:\RLibrary
3620
3721# Adapt as necessary starting from here
3822
39- # on_failure:
40- # - 7z a failure.zip *.Rcheck\*
41- # - appveyor PushArtifact failure.zip
23+ build_script :
24+ - travis-tool.sh install_deps
25+
26+ test_script :
27+ - travis-tool.sh run_tests
28+
29+ on_failure :
30+ - 7z a failure.zip *.Rcheck\*
31+ - appveyor PushArtifact failure.zip
4232
43- # environment:
44- # GITHUB_PAT:
45- # secure: VXO22OHLkl4YhVIomSMwCZyOTx03Xf2WICaVng9xH7gISlAg8a+qrt1DtFtk8sK5
33+ environment :
34+ GITHUB_PAT :
35+ secure : VXO22OHLkl4YhVIomSMwCZyOTx03Xf2WICaVng9xH7gISlAg8a+qrt1DtFtk8sK5
4636
4737artifacts :
4838 - path : ' *.Rcheck\**\*.log'
0 commit comments