Skip to content

Commit 6f764ef

Browse files
committed
ITT: isTravis helper method added.
1 parent 26a7113 commit 6f764ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Helpers/ApplicationHelpers.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
trait ApplicationHelpers
66
{
7+
protected function isTravis()
8+
{
9+
return (bool) getenv('TRAVIS');
10+
}
11+
712
protected function emulateLocal()
813
{
914
$this->emulateEnvironment('local');

0 commit comments

Comments
 (0)