File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ Provides Laravel-specific testing helpers and asserts.
5959> New helpers are always adding. Feel free to contribute.
6060
6161- [ApplicationHelpers](#applicationhelpers)
62+ - [isTravis](#istravis)
6263 - [emulateLocal](#emulatelocal)
6364 - [emulateProduction](#emulateproduction)
6465 - [emulateEnvironment](#emulateenvironment)
@@ -129,6 +130,16 @@ Provides Laravel-specific testing helpers and asserts.
129130
130131### ApplicationHelpers
131132
133+ #### `isTravis()`
134+
135+ Checks if tests are running on [Travis CI](https://travis-ci.org) or not:
136+
137+ ```php
138+ if ($this->isTravis()) {
139+ // Yep, it' s Travis.
140+ }
141+ ```
142+
132143#### ` emulateLocal() `
133144
134145Emulates that application is working at ` local ` environment:
You can’t perform that action at this time.
0 commit comments