소스 검색

travis run dusk

jqh 5 년 전
부모
커밋
e492db8a41
1개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  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: