Browse Source

travis run dusk

jqh 5 years ago
parent
commit
e492db8a41
1 changed files with 6 additions and 4 deletions
  1. 6 4
      .travis.yml

+ 6 - 4
.travis.yml

@@ -1,13 +1,14 @@
 sudo: required
-
 language: php
 
-# dist: trusty
 
 php:
   - 7.2
   - 7.3
 
+addons:
+  chrome: stable
+
 matrix:
   fast_finish: true
   allow_failures:
@@ -43,8 +44,9 @@ 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 &
+#  - 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-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
   - php artisan serve &
 
 script: