Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[travis] Colorize test results
- Loading branch information
Showing
3 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,7 @@ matrix: | |
- txt2tags | ||
- xvfb | ||
- clang-3.8 | ||
- grc | ||
|
||
|
||
- os: linux | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# A readme that explains the configuration options can be found here | ||
# http://korpus.juls.savba.sk/~garabik/software/grc/README.txt | ||
|
||
#################### | ||
# Early exit, lines that do not need to be processed further | ||
#################### | ||
|
||
# DEFAULT: the final FAILED line in failed nose tests | ||
regexp=^FAILED (failures=[0-9])$ | ||
colours=default | ||
count=stop | ||
- | ||
|
||
################### | ||
# Failed test block | ||
################### | ||
|
||
# YELLOW: A test failed, start a yellow block | ||
regexp=^FAIL[:\!].* | ||
colours=yellow | ||
count=block | ||
- | ||
# YELLOW END: End block on next successful test | ||
regexp=^PASS | ||
colours=default | ||
count=unblock | ||
- | ||
# YELLOW END: End block on next successful test | ||
regexp=^Ran | ||
colours=default | ||
count=unblock | ||
- | ||
|
||
#################### | ||
# Unit test name (title) | ||
#################### | ||
|
||
# RED: test name | ||
regexp=.*Test.*\*\*\*Failed.*sec | ||
colours=red | ||
- | ||
|
||
#################### | ||
# Successful tests | ||
#################### | ||
|
||
# DARK GRAY: passed tests should be unobtrusive | ||
regexp=.*Test.*Passed.*sec | ||
colours="\033[90m" | ||
- | ||
# DARK GRAY: Start test lines should be unobtrusive | ||
regexp=\s{8}Start.* | ||
colours="\033[90m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters