r
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.1KB

  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. environment:
  11. USE_RTOOLS: true
  12. R_REMOTES_STANDALONE: true
  13. cache:
  14. - C:\RLibrary
  15. - C:\Program Files (x86)\Pandoc\
  16. # Attempt to update pandoc
  17. before_test:
  18. - ps: cinst pandoc --version 2.5 --force
  19. - ps: $env:Path += ";C:\Program Files (x86)\Pandoc\"
  20. - pandoc -v
  21. # Adapt as necessary starting from here
  22. build_script:
  23. - travis-tool.sh install_deps
  24. test_script:
  25. - travis-tool.sh run_tests
  26. on_failure:
  27. - 7z a failure.zip *.Rcheck\*
  28. - appveyor PushArtifact failure.zip
  29. artifacts:
  30. - path: '*.Rcheck\**\*.log'
  31. name: Logs
  32. - path: '*.Rcheck\**\*.out'
  33. name: Logs
  34. - path: '*.Rcheck\**\*.fail'
  35. name: Logs
  36. - path: '*.Rcheck\**\*.Rout'
  37. name: Logs
  38. - path: '\*_*.tar.gz'
  39. name: Bits
  40. - path: '\*_*.zip'
  41. name: Bits