appveyor.yml 860 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # DO NOT CHANGE the "init" and "install" sections below
  2. # Download script file from GitHub
  3. init:
  4. ps: |
  5. $ErrorActionPreference = "Stop"
  6. Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
  7. Import-Module '..\appveyor-tool.ps1'
  8. install:
  9. ps: Bootstrap
  10. cache:
  11. - C:\RLibrary
  12. # Adapt as necessary starting from here
  13. build_script:
  14. - travis-tool.sh install_deps
  15. test_script:
  16. - travis-tool.sh run_tests
  17. on_failure:
  18. - 7z a failure.zip *.Rcheck\*
  19. - appveyor PushArtifact failure.zip
  20. artifacts:
  21. - path: '*.Rcheck\**\*.log'
  22. name: Logs
  23. - path: '*.Rcheck\**\*.out'
  24. name: Logs
  25. - path: '*.Rcheck\**\*.fail'
  26. name: Logs
  27. - path: '*.Rcheck\**\*.Rout'
  28. name: Logs
  29. - path: '\*_*.tar.gz'
  30. name: Bits
  31. - path: '\*_*.zip'
  32. name: Bits