diff options
author | William Desportes <williamdes@wdes.fr> | 2021-02-08 21:01:40 +0300 |
---|---|---|
committer | William Desportes <williamdes@wdes.fr> | 2021-02-08 21:02:00 +0300 |
commit | c7f23eb9cd9dc963fef3af49c7a575804ae8c886 (patch) | |
tree | e383171f24a82bbe8106b75e28006284eb66e86b /test | |
parent | 6fda5345d620e53737f6f079efea92d5a9aabcb2 (diff) |
Drop TravisCI
Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'test')
-rw-r--r-- | test/README.rst | 4 | ||||
-rw-r--r-- | test/selenium/TestBase.php | 6 | ||||
-rwxr-xr-x | test/start-local-server | 4 |
3 files changed, 4 insertions, 10 deletions
diff --git a/test/README.rst b/test/README.rst index 99c838567b..1ab6a70712 100644 --- a/test/README.rst +++ b/test/README.rst @@ -59,9 +59,7 @@ For example you can use following setup in ``phpunit.xml``:: Using BrowserStack ------------------ -We're using BrowserStack to run our tests on the Travis CI. If you are a team -member, you can be granted access to the team account, but you can register own -account there as well. +We're using our selenium tests on the GitHub CI. To run tests locally, you need to install BrowserStack tool to enable local testing, see their website for instructions: diff --git a/test/selenium/TestBase.php b/test/selenium/TestBase.php index adeb65ce35..9fdb67d4ae 100644 --- a/test/selenium/TestBase.php +++ b/test/selenium/TestBase.php @@ -293,10 +293,10 @@ abstract class TestBase extends TestCase $buildId = getenv('BUILD_TAG'); $buildLocal = false; $projectName = 'phpMyAdmin (Jenkins)'; - } elseif (getenv('TRAVIS_JOB_NUMBER')) { - $buildId = 'travis-' . getenv('TRAVIS_JOB_NUMBER'); + } elseif (getenv('GITHUB_ACTION')) { + $buildId = 'github-' . getenv('GITHUB_ACTION'); $buildLocal = true; - $projectName = 'phpMyAdmin (Travis)'; + $projectName = 'phpMyAdmin (GitHub - Actions)'; } if (! $buildLocal) { diff --git a/test/start-local-server b/test/start-local-server index 0bb19244fb..e5ffb85dd4 100755 --- a/test/start-local-server +++ b/test/start-local-server @@ -27,10 +27,6 @@ echo "Using temporary dir: ${DIR}" # You can define FPM_PATH to override the path for example FPM_PATH="php-fpm7.4" FPM_PATH="${FPM_PATH:-php-fpm}" -if [ ! -z "${TRAVIS}" ]; then - PHP_VERSION=$(phpenv version-name) - FPM_PATH="$HOME/.phpenv/versions/$PHP_VERSION/sbin/php-fpm" -fi # Start servers "$FPM_PATH" --fpm-config $DIR/php-fpm.conf -c $DIR/php.ini |