From 86deddecf910347b9c10eff1f8a4b059c99ce479 Mon Sep 17 00:00:00 2001 From: Patrick Ellis Date: Tue, 22 Jul 2014 11:46:23 -0700 Subject: [PATCH 01/11] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e646b92..e91e324 100755 --- a/README.md +++ b/README.md @@ -2,3 +2,5 @@ Clojure Sample ===================== Simple Clojure app using clojure.test framework. + +This sample is built for Shippable, a docker based continuous integration and deployment platform. From 6150d64de741a81ab18f292621ed38a7681dde95 Mon Sep 17 00:00:00 2001 From: pranaypareek Date: Tue, 22 Sep 2015 16:28:40 +0530 Subject: [PATCH 02/11] updates project to use test2junit for reporting test results --- sample/project.clj | 3 ++- sample/test/sample/core_test.clj | 3 +++ shippable.yml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sample/project.clj b/sample/project.clj index e0d3bf9..ed03983 100755 --- a/sample/project.clj +++ b/sample/project.clj @@ -6,4 +6,5 @@ :dependencies [[org.clojure/clojure "1.5.1"]] :main ^:skip-aot sample.core :target-path "target/%s" - :profiles {:uberjar {:aot :all}}) + :profiles {:dev {:plugins [[test2junit "1.1.1"]]}} + :test2junit-output-dir "../shippable/testresults") diff --git a/sample/test/sample/core_test.clj b/sample/test/sample/core_test.clj index 42bd560..7ff7adf 100755 --- a/sample/test/sample/core_test.clj +++ b/sample/test/sample/core_test.clj @@ -5,3 +5,6 @@ (deftest a-test (testing "Simple addition" (is (= 15 (-main 5))))) + +(deftest add-1-to-1 + (is (= 2 (+ 1 1)))) diff --git a/shippable.yml b/shippable.yml index 3bb8c40..1807464 100755 --- a/shippable.yml +++ b/shippable.yml @@ -12,4 +12,4 @@ before_script: # Running the test with Leiningen script: - cd sample - - lein test \ No newline at end of file + - lein test2junit From 053ae441e65f953bfb02faee0dc177334587dc72 Mon Sep 17 00:00:00 2001 From: himanshu0503test Date: Mon, 12 Oct 2015 18:08:44 +0530 Subject: [PATCH 03/11] archive: true --- shippable.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shippable.yml b/shippable.yml index 1807464..1cf3f51 100755 --- a/shippable.yml +++ b/shippable.yml @@ -13,3 +13,5 @@ before_script: script: - cd sample - lein test2junit + +archive: true From 112565268a82e0050d18f557a480eaa0d2a4e0bc Mon Sep 17 00:00:00 2001 From: himanshu0503test Date: Tue, 13 Oct 2015 10:23:08 +0530 Subject: [PATCH 04/11] archive: false --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 1cf3f51..0f5b518 100755 --- a/shippable.yml +++ b/shippable.yml @@ -14,4 +14,4 @@ script: - cd sample - lein test2junit -archive: true +archive: false From 04d422744ac80b09fc9b1a399e5929ff37a35221 Mon Sep 17 00:00:00 2001 From: himanshu0503test Date: Tue, 13 Oct 2015 11:02:10 +0530 Subject: [PATCH 05/11] archive: true --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 0f5b518..1cf3f51 100755 --- a/shippable.yml +++ b/shippable.yml @@ -14,4 +14,4 @@ script: - cd sample - lein test2junit -archive: false +archive: true From 3a2ed609f77a78efb9416c384a42de8c4e624413 Mon Sep 17 00:00:00 2001 From: himanshu0503test Date: Tue, 13 Oct 2015 12:22:16 +0530 Subject: [PATCH 06/11] comments archive --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 1cf3f51..869078f 100755 --- a/shippable.yml +++ b/shippable.yml @@ -14,4 +14,4 @@ script: - cd sample - lein test2junit -archive: true +#archive: true From cc321ee68e37b420dea025843e14c46e25042af5 Mon Sep 17 00:00:00 2001 From: himanshu0503test Date: Tue, 13 Oct 2015 12:24:16 +0530 Subject: [PATCH 07/11] archive: true --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 869078f..1cf3f51 100755 --- a/shippable.yml +++ b/shippable.yml @@ -14,4 +14,4 @@ script: - cd sample - lein test2junit -#archive: true +archive: true From 6de62b28edb53d95f77bf384299bb1fe2b2b1ec4 Mon Sep 17 00:00:00 2001 From: himanshu0503test Date: Tue, 13 Oct 2015 12:26:12 +0530 Subject: [PATCH 08/11] archive: false --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 1cf3f51..0f5b518 100755 --- a/shippable.yml +++ b/shippable.yml @@ -14,4 +14,4 @@ script: - cd sample - lein test2junit -archive: true +archive: false From a846fd65baa713f19a1ffdfe070bf2c0f245f6ee Mon Sep 17 00:00:00 2001 From: himanshu0503test Date: Tue, 13 Oct 2015 12:46:04 +0530 Subject: [PATCH 09/11] Removes archive --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 0f5b518..26768d3 100755 --- a/shippable.yml +++ b/shippable.yml @@ -14,4 +14,4 @@ script: - cd sample - lein test2junit -archive: false + From f43d9365dacc7ababe756608b750ec5dfdbbb800 Mon Sep 17 00:00:00 2001 From: himanshu0503test Date: Tue, 13 Oct 2015 14:16:34 +0530 Subject: [PATCH 10/11] archive: true --- shippable.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 26768d3..1cf3f51 100755 --- a/shippable.yml +++ b/shippable.yml @@ -14,4 +14,4 @@ script: - cd sample - lein test2junit - +archive: true From 79930a958fdb788ce08d6cc9ae3fc942332e116a Mon Sep 17 00:00:00 2001 From: himanshu0503test Date: Tue, 13 Oct 2015 14:38:44 +0530 Subject: [PATCH 11/11] removes archive --- shippable.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/shippable.yml b/shippable.yml index 1cf3f51..d630c0a 100755 --- a/shippable.yml +++ b/shippable.yml @@ -14,4 +14,3 @@ script: - cd sample - lein test2junit -archive: true