Skip to content

Commit fcaa323

Browse files
Merge pull request #724 from dfalbel/feature/appveyor
Feature/appveyor
2 parents c8bf076 + d27e492 commit fcaa323

File tree

4 files changed

+54
-1
lines changed

4 files changed

+54
-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$

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
- Use `tf.keras` as default implementation module.
55

6+
- Added AppVeyor to test on Windows.
7+
68

79
## Keras 2.2.4 (CRAN)
810

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
![](https://s3.amazonaws.com/keras.io/img/keras-logo-2018-large-1200.png)
44

55
[![Travis-CI Build Status](https://travis-ci.org/rstudio/keras.svg?branch=master)](https://travis-ci.org/rstudio/keras)
6+
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/rstudio/keras?branch=master&svg=true)](https://ci.appveyor.com/project/rstudio/keras)
67
[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/keras)](http://cran.r-project.org/package=keras)
78
[![license](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/fchollet/keras/blob/master/LICENSE)
89

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)