aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2016-09-26 11:49:10 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2016-10-25 07:43:49 +0200
commit3e35b416affc5390e221a712b57e1a8b1e25f201 (patch)
treef6be6addd68598da48c21e6fafe5305077850cd8
parent4fd96d6fdee727cbb0a112e516541855d4d47feb (diff)
downloadTest-3e35b416affc5390e221a712b57e1a8b1e25f201.zip
Test-3e35b416affc5390e221a712b57e1a8b1e25f201.tar.gz
Test-3e35b416affc5390e221a712b57e1a8b1e25f201.tar.bz2
Report: Update code coverage prompt.
-rw-r--r--.atoum.php9
-rw-r--r--Report/Cli/Cli.php2
-rw-r--r--composer.json2
3 files changed, 4 insertions, 9 deletions
diff --git a/.atoum.php b/.atoum.php
index a5c0709..988bf9f 100644
--- a/.atoum.php
+++ b/.atoum.php
@@ -20,13 +20,8 @@ $runner->addReport($report->addWriter(new atoum\writers\std\out()));
/**
* Publish code coverage report on coveralls.io from Travis.
*/
-var_dump(getenv('TRAVIS'));
-var_dump(getenv('COVERALLS_TOKEN'));
-var_dump($_SERVER);
-
-if (false !== getenv('TRAVIS') &&
- false !== $coverallsToken = getenv('COVERALLS_TOKEN')) {
- $coverallsReport = new atoum\reports\asynchronous\coveralls('.', $coverallsToken);
+if (false !== getenv('TRAVIS')) {
+ $coverallsReport = new atoum\reports\asynchronous\coveralls('.');
$defaultFinder = $coverallsReport->getBranchFinder();
$coverallsReport
diff --git a/Report/Cli/Cli.php b/Report/Cli/Cli.php
index 46bcccb..e9febb9 100644
--- a/Report/Cli/Cli.php
+++ b/Report/Cli/Cli.php
@@ -104,7 +104,7 @@ class Cli extends atoum\reports\realtime
->setTitlePrompt($firstLevelPrompt)
->setTitleColorizer($defaultColorizer)
->setClassPrompt($secondLevelPrompt)
- ->setMethodPrompt(new atoum\cli\prompt('==> ', $defaultColorizer));
+ ->setMethodPrompt($thirdLevelPrompt);
$this->addField($this->runnerTestsCoverageField);
diff --git a/composer.json b/composer.json
index 9285d3c..eebe267 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,7 @@
"source": "http://git.hoa-project.net/"
},
"require": {
- "atoum/atoum" : "~2.8",
+ "atoum/atoum" : "dev-master",
"atoum/praspel-extension" : "~0.16",
"atoum/ruler-extension" : "~1.2",
"atoum/visibility-extension": "~1.0",