代码拉取完成,页面将自动刷新
sudo: false
language: php
php:
# - 7.1
- 7.2
- 7.3
- 7.4
services:
- mysql
#matrix:
# allow_failures:
# - php: 7.4snapshot
before_install:
- composer self-update
- cp composer.json.dist composer.json
install:
- composer require xoops/base-requires:dev-master
- composer update
before_script:
- mysql -e 'create database xoops_test;'
- php console/console.php ci-bootstrap
- php console/console.php ci-install
- php console/console.php install-module avatars
- php console/console.php install-module page
script:
- xoops_lib/vendor/bin/phpunit
- wget https://github.com/diff-sniffer/git/releases/download/0.3.2/git-phpcs.phar
- php git-phpcs.phar $TRAVIS_COMMIT_RANGE
after_script:
- if [ "$TRAVIS_PHP_VERSION" != "7.4snapshot" ] && [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "7.4snapshot" ] && [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。