Add circle.yml for easier developer build testing

Patch by Jeff Jirsa; Reviewed by Jason Brown for CASSANDRA-13388


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

Branch: refs/heads/cassandra-2.2
Commit: d718d421f9e5850c24517da56a8a603755517d02
Parents: 301f7c5
Author: Jeff Jirsa <j...@jeffjirsa.net>
Authored: Tue Apr 4 14:29:17 2017 -0700
Committer: Jeff Jirsa <j...@jeffjirsa.net>
Committed: Tue Apr 4 14:29:17 2017 -0700

----------------------------------------------------------------------
 circle.yml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/d718d421/circle.yml
----------------------------------------------------------------------
diff --git a/circle.yml b/circle.yml
new file mode 100644
index 0000000..f0df312
--- /dev/null
+++ b/circle.yml
@@ -0,0 +1,17 @@
+machine:
+  java:
+    version: 'oraclejdk8'
+
+test:
+  pre:
+    - sudo ifconfig lo:1 127.0.0.2 up
+    - sudo ifconfig lo:2 127.0.0.3 up
+    - sudo ifconfig lo:3 127.0.0.4 up
+    - sudo ifconfig lo:4 127.0.0.5 up
+    - ant build
+
+  override:
+    - ant test
+  post:
+    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
+    - cp ./build/test/output/*.xml $CIRCLE_TEST_REPORTS/junit/

Reply via email to