projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
(travis) Multiple CI improvements lifted from blead
[dbsrgits/DBIx-Class.git]
/
t
/
lib
/
DBICTest
/
RunMode.pm
diff --git
a/t/lib/DBICTest/RunMode.pm
b/t/lib/DBICTest/RunMode.pm
index
1e31436
..
dc4d17f
100644
(file)
--- a/
t/lib/DBICTest/RunMode.pm
+++ b/
t/lib/DBICTest/RunMode.pm
@@
-216,6
+216,14
@@
sub is_smoker {
;
}
+sub is_ci {
+ return (
+ ($ENV{TRAVIS}||'') eq 'true'
+ and
+ ($ENV{TRAVIS_REPO_SLUG}||'') =~ m|\w+/dbix-class$|
+ )
+}
+
sub is_plain {
return (! __PACKAGE__->is_smoker && ! __PACKAGE__->is_author && ! $ENV{RELEASE_TESTING} )
}