- 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>
17 lines
294 B
Bash
Executable File
17 lines
294 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
set -x
|
|
|
|
if [ "$CI_MODE" != "selenium" ] ; then
|
|
exit 0
|
|
fi
|
|
|
|
mkdir -p ~/browserstack
|
|
cd ~/browserstack
|
|
if [ ! -f BrowserStackLocal ] ; then
|
|
wget https://www.browserstack.com/browserstack-local/BrowserStackLocal-linux-x64.zip
|
|
unzip BrowserStackLocal-linux-x64.zip
|
|
fi
|
|
|