代码拉取完成,页面将自动刷新
language: php
sudo: false
dist: trusty
php:
- 7.1
- 7.2
- nightly
env:
global:
- coverage=no
matrix:
- setup=basic
- setup=lowest
- setup=stable
before_script:
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "php-coveralls/php-coveralls=^2.1" --prefer-dist --no-interaction --dev; fi
script:
- if [[ $coverage = 'yes' ]]; then vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
- if [[ $coverage = 'no' ]]; then vendor/bin/phpunit -c phpunit.xml; fi
after_script:
- if [[ $setup = 'coveralls' ]]; then php vendor/bin/coveralls -v; fi
matrix:
include:
- php: 7.1
env: setup=coveralls coverage=yes
allow_failures:
- php: nightly
- env: setup=coveralls coverage=yes
fast_finish: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。