test: make testing optional in build

This commit is contained in:
Vincent Breitmoser 2014-07-11 19:58:28 +02:00
parent 74f510e62b
commit d4fa2bbf47
2 changed files with 3 additions and 3 deletions

View File

@ -15,6 +15,6 @@ before_install:
- ./install-custom-gradle-test-plugin.sh - ./install-custom-gradle-test-plugin.sh
install: echo "Installation done" install: echo "Installation done"
script: script:
- gradle assemble -S -q - gradle -PwithTesting=true assemble -S -q
- gradle --info OpenKeychain-Test:testDebug - gradle -PwithTesting=true --info OpenKeychain-Test:testDebug

View File

@ -1,5 +1,5 @@
include ':OpenKeychain' include ':OpenKeychain'
include ':OpenKeychain-Test' if (hasProperty('withTesting') && withTesting) include ':OpenKeychain-Test'
include ':extern:openpgp-api-lib' include ':extern:openpgp-api-lib'
include ':extern:openkeychain-api-lib' include ':extern:openkeychain-api-lib'
include ':extern:html-textview' include ':extern:html-textview'