1 Star 0 Fork 0

yanghuangsheng / sdebug

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
sudo: false
language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
- nightly
matrix:
allow_failures:
- php: nightly
env:
- USE_OPCACHE=0
- USE_OPCACHE=1
before_script:
- phpenv config-rm xdebug.ini || echo "xdebug not available"
- sh -e ./.travis.scripts/compile.sh
# Add an IPv6 config - see the corresponding Travis issue
# https://github.com/travis-ci/travis-ci/issues/8361
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
notifications:
email:
derick@xdebug.org
script:
- sudo sh -c 'echo "\n::1 localhost\n" >> /etc/hosts'
- export TEST_PHP_EXECUTABLE=`make findphp`
- export PATH=`dirname $TEST_PHP_EXECUTABLE`:$PATH
- TEST_PHP_ARGS="-n -d foo=1"
- if [[ "$USE_OPCACHE" == "1" ]]; then TEST_PHP_ARGS="$TEST_PHP_ARGS -d zend_extension=opcache.so -d opcache.enable=1 -d opcache.enable_cli=1"; fi
- export TEST_PHP_ARGS="$TEST_PHP_ARGS -d zend_extension=$PWD/modules/xdebug.so"
- export REPORT_EXIT_STATUS=1
- $TEST_PHP_EXECUTABLE $TEST_PHP_ARGS -v
- $TEST_PHP_EXECUTABLE -n run-tests.php -q -x --show-diff
after_script:
- ./.travis.scripts/show-errors.sh
notifications:
irc: "chat.freenode.net#xdebug"
1
https://gitee.com/yanghuangsheng_admin/sdebug.git
git@gitee.com:yanghuangsheng_admin/sdebug.git
yanghuangsheng_admin
sdebug
sdebug
master

搜索帮助