language: php

php:
  - 7.1
  - 7.2
  - 7.3
  # - 7.4 (7.4.0-dev not available yet)
  # - nightly (8.0.0-dev does not work yet)

sudo: required
dist: trusty
group: edge

env:
  - NODE_VERSION=10.x

cache:
  yarn: true
  directories:
    - node_modules
    - $HOME/.composer/cache/files

before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0
  - export PATH="$HOME/.yarn/bin:$PATH"
  - composer self-update
  - npm install grunt-cli yarn -g

install:
  - travis_retry composer install --no-interaction --prefer-source
  - yarn install
  - grunt build

script: ./vendor/bin/phpunit --configuration phpunit.xml

language: php

php:
  - 7.1
  - 7.2
  - 7.3
  - 7.4
  # - nightly (8.0.0-dev does not work yet)

sudo: required
dist: trusty
group: edge

env:
  - NODE_VERSION=10.x

cache:
  yarn: true
  directories:
    - node_modules
    - $HOME/.composer/cache/files

before_install:
  - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.13.0
  - export PATH="$HOME/.yarn/bin:$PATH"
  - composer self-update
  - npm install grunt-cli yarn -g

install:
  - travis_retry composer install --no-interaction --prefer-source
  - yarn install
  - grunt build

script: ./vendor/bin/phpunit --configuration phpunit.xml

Test on PHP 7.4 as well
Test on PHP 7.4 as well
