language: php

dist: xenial

services:
  - mysql

php:
  - 7.1
  - 7.2
  - 7.3
  - 7.4

sudo: true

before_script:
  - composer update
  - mysql -e "CREATE USER 'event_sourcing'@'localhost' IDENTIFIED BY 'event_sourcing123';" -uroot
  - mysql -e "GRANT ALL PRIVILEGES ON json_event_store.* TO 'event_sourcing'@'localhost';" -uroot
  - mysql -e "GRANT ALL PRIVILEGES ON json_snapshot_store.* TO 'event_sourcing'@'localhost';" -uroot

language: php

dist: xenial

services:
  - mysql

php:
  - 7.1
  - 7.2
  - 7.3

sudo: true

before_script:
  - composer update
  - mysql -e "CREATE USER 'event_sourcing'@'localhost' IDENTIFIED BY 'event_sourcing123';" -uroot
  - mysql -e "GRANT ALL PRIVILEGES ON json_event_store.* TO 'event_sourcing'@'localhost';" -uroot
  - mysql -e "GRANT ALL PRIVILEGES ON json_snapshot_store.* TO 'event_sourcing'@'localhost';" -uroot

Revert "add PHP 7.4 support"
Revert "add PHP 7.4 support"

This reverts commit 24289eb8a8896d598a2d3494a976bedeff9cd055.
