Commit f994264e authored by Dominik Hebeler's avatar Dominik Hebeler

testing ci

parent 145344f5
...@@ -55,8 +55,9 @@ test metager3: ...@@ -55,8 +55,9 @@ test metager3:
script: script:
- cd ~/MetaGer_neu - cd ~/MetaGer_neu
- sh test.sh - sh test.sh
- kill $browserstackPid after_script:
- kill $servePid - kill `cat ~/browserstackPid` && rm ~/browserstackPid
- kill `cat ~/servePid` && rm ~/servePid
deploy metager3: deploy metager3:
stage: deploy stage: deploy
......
...@@ -5,12 +5,14 @@ set -e ...@@ -5,12 +5,14 @@ set -e
cd ~/MetaGer_neu cd ~/MetaGer_neu
# Start Webserver # Start Webserver
php artisan serve --port 8005 >/dev/null 2>&1 & nohup php artisan serve --port 8005 >/dev/null 2>&1 &
servePid=$! echo $! > ~/servePid
disown
# Start the Browserstack Proxy # Start the Browserstack Proxy
~/BrowserStackLocal --key gCyHqmJnNwLhp96LgiVG 2>&1 & ~/BrowserStackLocal --key gCyHqmJnNwLhp96LgiVG 2>&1 &
browserstackPid=$! echo $! > ~/browserstackPid
disown
sleep 5 sleep 5
./vendor/bin/phpunit ./vendor/bin/phpunit
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment