Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: v1.0.1.{build}
os: Visual Studio 2017
clone_folder: c:\projects\Processing.R

environment:
matrix:
- JAVA_HOME: "C:\\Program Files (x86)\\Java\\jdk1.8.0"
# - JAVA_HOME: "C:\\Program Files\\Java\\jdk1.8.0"

build: off

install:
- curl -L http://download.processing.org/processing-3.3-windows64.zip > c:\projects\processing.zip
- curl -L http://apache.claz.org//ant/binaries/apache-ant-1.10.1-bin.zip > c:\projects\apache-ant.zip
- cd c:\projects && unzip c:\projects\processing.zip && unzip c:\projects\apache-ant.zip
- set PATH=%PATH%;C:\projects\apache-ant-1.10.1\bin
- cd c:\projects\Processing.R
- .ci\init.cmd
- cd c:\projects\Processing.R
- ant info
- ant try

notifications:
- provider: Email
to:
- gaocegege@hotmail.com
on_build_success: false
on_build_failure: true
on_build_status_changed: false
25 changes: 25 additions & 0 deletions .ci/init.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
REM Maintainer Ce Gao(gaocegege) <github.com/gaocegege>

REM # Paths
REM # Those paths are not needed when building runner.jar,
REM # but will be used in the future to package the mode.
set modes="c:\\mock-user\\modes"
set executable="c:\\mock-user\\Processing"
REM # Those paths are important to build runner.jar.
set processing="c:\\projects\\processing-3.3"
set core="c:\\projects\\processing-3.3\\core\\library"
set pde="c:\\projects\\processing-3.3\\lib"
set renjin="lib\\renjin-script-engine-0.8.2194-jar-with-dependencies.jar"

set processingr="c:\projects\Processing.R"

cd %processingr%
copy build.xml.template build.xml
REM # Interpret config template.
echo "Inject the config to build.xml.template."
perl -i.bak -pe "s|\@\@modes\@\@|%modes%|g" build.xml && del build.xml.bak
perl -i.bak -pe "s|\@\@executable\@\@|%executable%|g" build.xml && del build.xml.bak
perl -i.bak -pe "s|\@\@processing\@\@|%processing%|g" build.xml && del build.xml.bak
perl -i.bak -pe "s|\@\@core\@\@|%core%|g" build.xml && del build.xml.bak
perl -i.bak -pe "s|\@\@pde\@\@|%pde%|g" build.xml && del build.xml.bak
perl -i.bak -pe "s|\@\@renjin\@\@|%renjin%|g" build.xml && del build.xml.bak
7 changes: 5 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@
[![](https://img.shields.io/badge/docker-supported-blue.svg)](https://quay.io/repository/gaocegege/processing.r)
[![Docker Repository on Quay](https://quay.io/repository/gaocegege/processing.r/status "Docker Repository on Quay")](https://quay.io/repository/gaocegege/processing.r)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/33ebc49f6f764fffb7ea7bf617edf902)](https://www.codacy.com/app/gaocegege/Processing-R?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=gaocegege/Processing.R&amp;utm_campaign=Badge_Grade)
[![Gitter](https://badges.gitter.im/gaocegege/Processing.R.svg)](https://gitter.im/gaocegege/Processing.R?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)-->
[![Gitter](https://badges.gitter.im/gaocegege/Processing.R.svg)](https://gitter.im/gaocegege/Processing.R?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Build status](https://ci.appveyor.com/api/projects/status/9lq6psaw9c18ins8/branch/master?svg=true)](https://ci.appveyor.com/project/gaocegege/processing-r/branch/master)
-->

<p align="center">
<a href="https://travis-ci.org/gaocegege/Processing.R"><img src="https://travis-ci.org/gaocegege/Processing.R.svg?branch=master" alt="Build Status"></a>
<a href="https://travis-ci.org/gaocegege/Processing.R"><img src="https://travis-ci.org/gaocegege/Processing.R.svg?branch=master" alt="Travis CI"></a>
<a href="https://ci.appveyor.com/project/gaocegege/processing-r/branch/master"><img src="https://ci.appveyor.com/api/projects/status/9lq6psaw9c18ins8/branch/master?svg=true" alt="appveyor"></a>
<a href="https://quay.io/repository/gaocegege/processing.r"><img src="https://img.shields.io/badge/docker-supported-blue.svg" alt=""></a>
<a href="https://quay.io/repository/gaocegege/processing.r"><img src="https://quay.io/repository/gaocegege/processing.r/status" alt="Docker Repository on Quay" title="Docker Repository on Quay"></a>
<a href="https://www.codacy.com/app/gaocegege/Processing-R?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=gaocegege/Processing.R&amp;utm_campaign=Badge_Grade"><img src="https://api.codacy.com/project/badge/Grade/33ebc49f6f764fffb7ea7bf617edf902" alt="Codacy Badge"></a>
Expand Down