diff --git a/config/ninja.php b/config/ninja.php index a5ec144f514f..5e7d98894ca5 100644 --- a/config/ninja.php +++ b/config/ninja.php @@ -58,6 +58,7 @@ return [ 'password' => 'password', 'stripe' => env('STRIPE_KEYS',''), 'paypal' => env('PAYPAL_KEYS', ''), + 'travis' => env('TRAVIS', false), ], 'contact' => [ diff --git a/tests/Feature/ClientModelTest.php b/tests/Feature/ClientModelTest.php index e9db3c9c73b3..6b6ab3ec6545 100644 --- a/tests/Feature/ClientModelTest.php +++ b/tests/Feature/ClientModelTest.php @@ -29,6 +29,10 @@ class ClientModelTest extends TestCase public function testPaymentMethods() { + + if(config('ninja.testvars.travis')) + $this->markTestSkipped('Skip test for Travis'); + $amount = 40; $company_gateways = $this->client->getSetting('company_gateways');