You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by dd...@apache.org on 2017/04/12 11:39:08 UTC

[2/4] incubator-freemarker git commit: travis configuration for freemarker

travis configuration for freemarker


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/b3c8b027
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/b3c8b027
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/b3c8b027

Branch: refs/heads/2.3-gae
Commit: b3c8b027aeb4abe5e768f13308ca6632869bdaf1
Parents: fa56e73
Author: Pradeep Murugesan <pr...@outlook.com>
Authored: Wed Apr 12 10:13:56 2017 +0200
Committer: Pradeep Murugesan <pr...@outlook.com>
Committed: Wed Apr 12 10:13:56 2017 +0200

----------------------------------------------------------------------
 .travis.yml |  5 +++++
 build.xml   | 14 ++++++++++++++
 2 files changed, 19 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/b3c8b027/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..d663b22
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,5 @@
+language: java
+before_install: ant download-ivy
+install: ant
+jdk:
+  - oraclejdk8
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/b3c8b027/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 7a1280d..56d6102 100644
--- a/build.xml
+++ b/build.xml
@@ -133,6 +133,20 @@
     <mkdir dir="build"/>
   </target>
 
+  <property name="ivy.install.version" value="2.3.0" />
+  <condition property="ivy.home" value="${env.IVY_HOME}">
+    <isset property="env.IVY_HOME" />
+  </condition>
+  <property name="ivy.home" value="${user.home}/.ant" />
+  <property name="ivy.jar.dir" value="${ivy.home}/lib" />
+  <property name="ivy.jar.file" value="${ivy.jar.dir}/ivy.jar" />
+
+  <target name="download-ivy" unless="offline">
+
+    <mkdir dir="${ivy.jar.dir}"/>
+    <get src="https://repo1.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar"
+         dest="${ivy.jar.file}" usetimestamp="true"/>
+  </target>
   
   <!-- ================================================================= -->
   <!-- Compilation                                                       -->