sudo: required
language: php
dist: trusty

php:
  - 7.4

install:
  - pecl install zip
  - cp .env.example .env
  - travis_retry composer install --no-interaction
  - php artisan dusk:chrome-driver 71

before_script:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - ./vendor/laravel/dusk/bin/chromedriver-linux &
  - php artisan key:generate
  - touch database/database.sqlite
  - php artisan serve &
  - chmod -R 0755 vendor/laravel/dusk/bin/

script:
  - vendor/bin/phpunit
#  - php artisan dusk

language: php

php:
  - 7.3

addons:
  chrome: stable

install:
  - cp .env.example .env
  - travis_retry composer install --no-interaction --prefer-dist --no-suggest
  - php artisan key:generate
  - php artisan dusk:chrome-driver

before_script:
  - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
  - touch database/database.sqlite
  - php artisan serve &

script:
  - vendor/bin/phpunit
#  - php artisan dusk

Upgrade to Laravel 7: Refactoring Travis CI according for the Laravel version 7
Upgrade to Laravel 7: Refactoring Travis CI according for the Laravel version 7
