1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00
Files
phpmyadmin/test/start-local-server
Michal Čihař ebccbfda6f Rewrite Travis setup
- run lint separately
- run selenium on PHP 7.0 (it's faster)
- avoid not needed steps for various ci modes

Signed-off-by: Michal Čihař <michal@cihar.com>
2016-02-22 08:05:49 +01:00

12 lines
298 B
Bash
Executable File

#!/bin/sh
set -e
set -x
if [ "$CI_MODE" != "selenium" -o -z "$TESTSUITE_BROWSERSTACK_KEY" ] ; then
exit 0
fi
php --server 127.0.0.1:8000 > php.log &
~/browserstack/BrowserStackLocal -localIdentifier "travis-$TRAVIS_JOB_NUMBER" -onlyAutomate "$TESTSUITE_BROWSERSTACK_KEY" 127.0.0.1,8000,0 &