language: php

stages:
  - test
  - name: deploy
    if: branch = master

php:
  - 7.0
  - 7.1
  - 7.2

sudo: false

addons:
  apt:
    packages:
      - ca-certificates

cache:
  directories:
    - $HOME/.composer/cache

install:
  - composer install

script:
  - vendor/bin/phpcs --standard=psr2 src
  - vendor/bin/phpunit

jobs:
  include:
    - stage: deploy
      script: .travis/mkdocs.sh
      sudo: required

language: php

stages:
  - test
  - name: deploy
    if: branch = master

php:
  - 7.0
  - 7.1
  - 7.2
  - 7.3

sudo: false

addons:
  apt:
    packages:
      - ca-certificates

cache:
  directories:
    - $HOME/.composer/cache

install:
  - composer install

script:
  - vendor/bin/phpcs --standard=psr2 src
  - vendor/bin/phpunit

jobs:
  include:
    - stage: deploy
      script: .travis/mkdocs.sh
      sudo: required

Add php 7.3 to Travis pipeline
Add php 7.3 to Travis pipeline
