Merge pull request #1025 from vorburger/ImprovedTravisGradleConsoleLog

Improved the logging of test failures on TravisCI
This commit is contained in:
Vishwas Babu A J
2014-08-07 17:51:52 -07:00
2 changed files with 10 additions and 1 deletions
+5
View File
@@ -4,3 +4,8 @@ jdk:
script: ./travis_build.sh
notifications:
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
View File
@@ -1,3 +1,7 @@
#!/bin/bash
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