language: php

php:
    7.4

services:
    - mysql

before_install:
    - mysql -e 'CREATE DATABASE lanager;'

before_script:
    - composer self-update
    - composer install --no-interaction
    - php artisan key:generate
    - php artisan storage:link
    - php artisan lanager:import-steam-apps-csv
    - cp .env.travis .env
    - php artisan serve &

script: vendor/bin/behat

language: php

php:
    7.4

services:
    - mysql

before_install:
    - mysql -e 'CREATE DATABASE lanager;'

before_script:
    - composer self-update
    - composer install --no-interaction
    - cp .env.travis .env
    - php artisan key:generate
    - php artisan storage:link
    - php artisan lanager:import-steam-apps-csv
    - php artisan serve &

script: vendor/bin/behat

Write env file before calling artisan
Write env file before calling artisan
