language: php
php:
  - '5.6'
  - '7.0'
  - '7.1'
env:
  - NO_INTERACTION=1
matrix:
  include:
    - os: osx
      language: generic
      php: '7.1'
      before_install:
        - brew tap homebrew/php
        - brew update
        - brew install php71
before_script:
  - phpize
  - ./configure --enable-sha3
  - make
script: make test

language: php
php:
  - '5.6'
  - '7.0'
  - '7.1'
  - '7.2'
env:
  - NO_INTERACTION=1
matrix:
  include:
    - os: osx
      language: generic
      php: '7.2'
      before_install:
        - brew update
        - brew install php
before_script:
  - phpize
  - ./configure --enable-sha3
  - make
script: make test

Add PHP 7.2 to Travis build
 Add PHP 7.2 to Travis build