[bintray-client-java] 07/22: d/patches/disable_tests.diff: Disable tests
Kai-Chung Yan
seamlik-guest at moszumanska.debian.org
Thu Jun 4 08:20:03 UTC 2015
This is an automated email from the git hooks/post-receive script.
seamlik-guest pushed a commit to branch master
in repository bintray-client-java.
commit 24206731b74dbdc18952759c57382c76a68a678e
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date: Mon Jun 1 15:04:52 2015 +0800
d/patches/disable_tests.diff: Disable tests
---
debian/changelog | 4 ++++
debian/patches/disable_tests.diff | 34 ++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 39 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e7d9291..0957afb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,9 @@
bintray-client-java (0.8.1-1) UNRELEASED; urgency=low
* Initial release
+ * New patches under debian/patches/ :
+ - disable_publishing.diff: Disable publishing to JCenter
+ - disable_tests.diff: Disable tests
+ - use_local_artifacts.diff: Avoid downloading artifacts online
-- Kai-Chung Yan <seamlikok at gmail.com> Sun, 31 May 2015 22:59:58 +0800
diff --git a/debian/patches/disable_tests.diff b/debian/patches/disable_tests.diff
new file mode 100644
index 0000000..a1ed62d
--- /dev/null
+++ b/debian/patches/disable_tests.diff
@@ -0,0 +1,34 @@
+Description: The test requires jgravatar which does not exist in Debian yet.
+Author: Kai-Chung Yan <seamlikok at gmail.com>
+Last-Update: 2015-06-01
+--- a/build.gradle
++++ b/build.gradle
+@@ -78,6 +78,7 @@
+ from javadoc.destinationDir
+ }
+
++ /*
+ task testResultsZip(type: Zip) {
+ classifier = 'testreports'
+ from testReportDir
+@@ -97,6 +98,7 @@
+
+ finalizedBy(testResultsZip)
+ }
++ */
+
+ /*
+ publishing {
+@@ -163,10 +165,12 @@
+ compile project(':bintray-client-java-api')
+ compile 'org.codehaus.groovy:groovy:1.8.0'
+ compile 'commons-lang:commons-lang:2.6'
++ /*
+ testCompile group: 'com.timgroup', name: 'jgravatar', version: '1.0'
+ testCompile("org.spockframework:spock-core:0.7-groovy-1.8") {
+ exclude module: 'groovy-all'
+ }
++ */
+ }
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
index f91657a..b548adf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
use_local_artifacts.diff
disable_publishing.diff
+disable_tests.diff
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/bintray-client-java.git
More information about the pkg-java-commits
mailing list