Skip to content

Commit

Permalink
Fix broken DBICTest::RunMode::is_smoker() (riba got pwned by precedence)
Browse files Browse the repository at this point in the history
  • Loading branch information
ribasushi committed Dec 19, 2012
1 parent c87d30a commit 1a08c5e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions t/lib/DBICTest/RunMode.pm
Expand Up @@ -150,9 +150,11 @@ sub is_author {
}

sub is_smoker {
return $ENV{TRAVIS} or (
$ENV{AUTOMATED_TESTING} && ! $ENV{PERL5_CPANM_IS_RUNNING} && ! $ENV{RELEASE_TESTING}
)
return
( ($ENV{TRAVIS}||'') eq 'true' )
||
( $ENV{AUTOMATED_TESTING} && ! $ENV{PERL5_CPANM_IS_RUNNING} && ! $ENV{RELEASE_TESTING} )
;
}

sub is_plain {
Expand Down

0 comments on commit 1a08c5e

Please sign in to comment.