php-ml/.travis.yml
Tomáš Votruba 653c7c772d Upgrade to PHP 7.1 (#150)
* upgrade to PHP 7.1

* bump travis and composer to PHP 7.1

* fix tests
2017-11-14 21:21:23 +01:00

30 lines
622 B
YAML

language: php
matrix:
fast_finish: true
include:
- os: linux
php: '7.1'
- os: linux
php: '7.2'
- os: osx
osx_image: xcode7.3
language: generic
env:
- _OSX=10.11
- _PHP: php71
before_install:
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then /usr/bin/env bash tools/prepare_osx_env.sh ; fi
install:
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then /usr/bin/env bash tools/handle_brew_pkg.sh "${_PHP}" ; fi
- curl -s http://getcomposer.org/installer | php
- php composer.phar install --dev --no-interaction --ignore-platform-reqs
script:
- bin/phpunit