test: make testing optional in build
This commit is contained in:
@@ -15,6 +15,6 @@ before_install:
|
||||
- ./install-custom-gradle-test-plugin.sh
|
||||
install: echo "Installation done"
|
||||
script:
|
||||
- gradle assemble -S -q
|
||||
- gradle --info OpenKeychain-Test:testDebug
|
||||
- gradle -PwithTesting=true assemble -S -q
|
||||
- gradle -PwithTesting=true --info OpenKeychain-Test:testDebug
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
include ':OpenKeychain'
|
||||
include ':OpenKeychain-Test'
|
||||
if (hasProperty('withTesting') && withTesting) include ':OpenKeychain-Test'
|
||||
include ':extern:openpgp-api-lib'
|
||||
include ':extern:openkeychain-api-lib'
|
||||
include ':extern:html-textview'
|
||||
|
||||
Reference in New Issue
Block a user