Browse Source

add appveyor config

tags/v0.4.0
nuest 1 year ago
parent
commit
8e1fb7ad10
1 changed files with 45 additions and 0 deletions
  1. 45
    0
      appveyor.yml

+ 45
- 0
appveyor.yml View File

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

Loading…
Cancel
Save