From 5040f5b1773e6a97509b0a5d79a8fe5e005de63a Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sun, 13 Dec 2020 11:07:37 +0100 Subject: [PATCH] Changed condition to determine if tests are run in CI --- config/test/test_config.global.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/test/test_config.global.php b/config/test/test_config.global.php index 6b3c6612..3608257e 100644 --- a/config/test/test_config.global.php +++ b/config/test/test_config.global.php @@ -36,7 +36,7 @@ if ($isApiTest) { $buildDbConnection = function (): array { $driver = env('DB_DRIVER', 'sqlite'); - $isCi = env('TRAVIS', false); + $isCi = env('CI', false); $getMysqlHost = fn (string $driver) => sprintf('shlink_db%s', $driver === 'mysql' ? '' : '_maria'); $getCiMysqlPort = fn (string $driver) => $driver === 'mysql' ? '3307' : '3308';