Merge pull request #1025 from vorburger/ImprovedTravisGradleConsoleLog
Improved the logging of test failures on TravisCI
This commit is contained in:
@@ -4,3 +4,8 @@ jdk:
|
|||||||
script: ./travis_build.sh
|
script: ./travis_build.sh
|
||||||
notifications:
|
notifications:
|
||||||
email: true
|
email: true
|
||||||
|
# This is so that the Gradle output is readable on the Travis web console
|
||||||
|
# @see http://stackoverflow.com/questions/17942819/how-can-i-get-clean-gradle-output-on-travis-ci
|
||||||
|
# @see http://gradle.1045684.n5.nabble.com/Plain-console-output-td5710237.html
|
||||||
|
env:
|
||||||
|
- TERM=dumb
|
||||||
|
|||||||
+5
-1
@@ -1,3 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd mifosng-provider
|
cd mifosng-provider
|
||||||
./gradlew clean test
|
# NOTE: The --info, while quite a bit more verbose, is VERY useful to understand failures on Travis,
|
||||||
|
# where you do not have access to any files like build/reports/tests/index.html, only the Console.
|
||||||
|
# @see http://mrhaki.blogspot.ch/2013/05/gradle-goodness-show-more-information.html
|
||||||
|
# @see http://forums.gradle.org/gradle/topics/whats_new_in_gradle_1_1_test_logging for alternative
|
||||||
|
./gradlew --info clean test
|
||||||
|
|||||||
Reference in New Issue
Block a user