Bladeren bron

travis run dusk

jqh 5 jaren geleden
bovenliggende
commit
58f6a7d8f9
1 gewijzigde bestanden met toevoegingen van 5 en 3 verwijderingen
  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 &