You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by jj...@apache.org on 2017/04/04 21:41:29 UTC

[02/15] cassandra git commit: Add circle.yml for easier developer build testing

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 <je...@jeffjirsa.net>
Authored: Tue Apr 4 14:29:17 2017 -0700
Committer: Jeff Jirsa <je...@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/