From 09fbcfbbdda0f879ff752adcd087d3394a015cd1 Mon Sep 17 00:00:00 2001 From: haobug Date: Mon, 15 Jul 2013 09:19:54 +0800 Subject: [PATCH] added travis continuous integration support --- .travis.yml | 7 +++++++ install_openblocks | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 .travis.yml create mode 100755 install_openblocks diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..4a737e3e7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: java + - openjdk7 + - openjdk6 + - oraclejdk7 + - oraclejdk6 +before_install: ./install_openblocks +install: mvn validate && mvn install diff --git a/install_openblocks b/install_openblocks new file mode 100755 index 000000000..2ee78f047 --- /dev/null +++ b/install_openblocks @@ -0,0 +1,6 @@ +#! /bin/sh +git clone https://github.com/taweili/openblocks.git && \ +cd openblocks && \ +mvn install && \ +cd .. && \ +rm -rf openblocks