jqh преди 5 години
родител
ревизия
58f6a7d8f9
променени са 1 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 5 3
      .travis.yml

+ 5 - 3
.travis.yml

@@ -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 &