php-ml/.travis.yml

27 lines
588 B
YAML
Raw Normal View History

2016-04-10 11:50:24 +02:00
language: php
2016-06-30 23:42:45 +02:00
2016-07-01 22:05:20 +02:00
matrix:
fast_finish: true
2016-06-30 23:42:45 +02:00
2016-07-01 22:05:20 +02:00
include:
- os: linux
php: '7.0'
2016-06-30 23:42:45 +02:00
2016-07-01 22:05:20 +02:00
- os: osx
osx_image: xcode7.3
language: generic
env:
- _OSX=10.11
- _PHP: php70
before_install:
2016-07-01 22:07:57 +02:00
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then /usr/bin/env bash tools/prepare_osx_env.sh ; fi
2016-07-01 22:05:20 +02:00
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
2016-06-30 23:42:45 +02:00
script:
2016-07-08 00:03:22 +02:00
- bin/phpunit