mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-23 21:27:44 +03:00
Changed condition to determine if tests are run in CI
This commit is contained in:
parent
77deb9c111
commit
5040f5b177
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue