sudo: required
language: php
dist: trusty

php:
  - 7.4

install:
  - 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

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

Upgrade to Laravel 7: Trying to install zip extension with pecl for Travis CI
Upgrade to Laravel 7: Trying to install zip extension with pecl for Travis CI
