1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- language: php
- matrix:
- include:
- - os: linux
- dist: trusty
- sudo: required
- php: 7.0
- - os: linux
- dist: trusty
- sudo: required
- php: 7.1
- - os: osx
- sudo: required
- language: generic
- env:
- - _PHP: 'php70'
- - os: osx
- sudo: required
- language: generic
- env:
- - _PHP: 'php71'
- addons:
- apt:
- packages:
- - gearman-job-server
- - libgearman-dev
- - gearman-tools
- before_install:
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap homebrew/dupes ; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap homebrew/versions ; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap homebrew/homebrew-php ; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gearman ; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew services start gearman ; fi
- - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install $_PHP ; fi
- script:
- - phpize
- - ./configure
- - make
- - REPORT_EXIT_STATUS=1 make test
|