Skip to content

Commit 7f4d4c5

Browse files
committed
first setup
1 parent c8bf076 commit 7f4d4c5

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

.Rbuildignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
^Jenkinsfile$
3434
^logo.png$
3535

36-
36+
^appveyor\.yml$

appveyor.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# DO NOT CHANGE the "init" and "install" sections below
2+
3+
environment:
4+
matrix:
5+
- TF_VERSION: 1.13.1
6+
- TF_VERSION: 1.12.0
7+
8+
# Download script file from GitHub
9+
init:
10+
ps: |
11+
$ErrorActionPreference = "Stop"
12+
Invoke-WebRequest http://raw.github.com/krlmlr/r-appveyor/master/scripts/appveyor-tool.ps1 -OutFile "..\appveyor-tool.ps1"
13+
Import-Module '..\appveyor-tool.ps1'
14+
install:
15+
ps: Bootstrap
16+
17+
cache:
18+
- C:\RLibrary
19+
20+
# Adapt as necessary starting from here
21+
22+
build_script:
23+
- C:\Miniconda3-x64\Scripts\conda create -y --name r-tensorflow tensorflow=%TF_VERSION% keras python=3.6.8
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
32+
33+
artifacts:
34+
- path: '*.Rcheck\**\*.log'
35+
name: Logs
36+
37+
- path: '*.Rcheck\**\*.out'
38+
name: Logs
39+
40+
- path: '*.Rcheck\**\*.fail'
41+
name: Logs
42+
43+
- path: '*.Rcheck\**\*.Rout'
44+
name: Logs
45+
46+
- path: '\*_*.tar.gz'
47+
name: Bits
48+
49+
- path: '\*_*.zip'
50+
name: Bits

0 commit comments

Comments
 (0)