|
@@ -42,10 +42,12 @@ install:
|
|
|
- php artisan dusk:chrome-driver
|
|
|
|
|
|
before_script:
|
|
|
-# - chmod 777 ./vendor/laravel/dusk/bin/chromedriver-linux
|
|
|
-# - ./vendor/laravel/dusk/bin/chromedriver-linux --headless --disable-gpu --remote-debugging-port=9515 http://localhost &
|
|
|
+ - export DISPLAY=:99.0
|
|
|
+ - sh -e /etc/init.d/xvfb start
|
|
|
+ - chmod 777 ./vendor/laravel/dusk/bin/chromedriver-linux
|
|
|
+ - ./vendor/laravel/dusk/bin/chromedriver-linux --headless --disable-gpu --remote-debugging-port=9515 http://localhost &
|
|
|
# - google-chrome --headless --disable-gpu --remote-debugging-port=9515 http://localhost &
|
|
|
- - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
|
|
|
+# - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
|
|
|
# - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9515 http://localhost &
|
|
|
- php artisan serve &
|
|
|
|