代码拉取完成,页面将自动刷新
language: php
cache:
directories:
- vendor
- cache
php:
# - 5.6
# - 7.0
# - 7.1
- 7.2
- 7.3
- nightly
matrix:
fast_finish: true
allow_failures:
- php: nightly
install:
- composer self-update
- composer install -q
# - composer update -q
- curl -fsSL http://get.sensiolabs.org/sami.phar -o sami
- chmod +x sami
script:
# - vendor/bin/phpunit --no-configuration --filter "/::testDeleteForce( .*)?$/" TencentAI\Tests\FaceTest $PWD/tests/TencentAI/FaceTest.php
- composer test:coverage || composer test
- php -r 'echo file_put_contents(sys_get_temp_dir()."/tencent_ai.log","test end",FILE_APPEND);'
- php -r 'echo file_get_contents(sys_get_temp_dir()."/tencent_ai.log");'
after_success:
- bash <(curl -s https://codecov.io/bash)
- ./sami update .sami.php
branches:
only:
- master
- dev
deploy:
provider: pages
skip-cleanup: true
local-dir: build
github-token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep-history: true
on:
branch: master
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。