加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
Igor Kroitor 提交于 2019-11-28 02:23 . appveyor php7.4
environment:
matrix:
- nodejs_version: '9'
install:
- ps: Install-Product node $env:nodejs_version
- set CI=true
- npm install --global npm@latest
- set PATH=%APPDATA%\npm;%PATH%
- npm install
- python -m pip install --upgrade pip setuptools
- pip install tox
- pip install requests
- pip install cryptography
- cinst -y curl
- SET PATH=C:\Program Files\curl;%PATH%
- ps: Set-Service wuauserv -StartupType Manual
- cinst -y php --allow-empty-checksums
- cd c:\tools\php74
- copy php.ini-production php.ini
- echo date.timezone="UTC" >> php.ini
- echo extension_dir=ext >> php.ini
- echo extension=php_curl.dll >> php.ini
- echo extension=php_mbstring.dll >> php.ini
- cd %APPVEYOR_BUILD_FOLDER%
matrix:
fast_finish: true
build: off
shallow_clone: true
before_test:
- cinst pandoc --version 2.3.1
- pandoc -v
test_script:
- refreshenv
- node --version
- npm --version
- npm run build
- npm run test-base
cache:
- '%APPDATA%\npm-cache'
- '%LOCALAPPDATA%\pip\Cache'
after_build:
# Remove old or huge cache files to hopefully not exceed the 1GB cache limit.
#
# If the cache limit is reached, the cache will not be updated (of not even
# created in the first run). So this is a trade of between keeping the cache
# current and having a cache at all.
# NB: This is done only `on_success` since the cache in uploaded only on
# success anyway.
- C:\cygwin\bin\find "%LOCALAPPDATA%\pip" -type f -mtime +360 -delete
- C:\cygwin\bin\find "%LOCALAPPDATA%\pip" -type f -size +10M -delete
- C:\cygwin\bin\find "%LOCALAPPDATA%\pip" -empty -delete
# Show size of cache
- C:\cygwin\bin\du -hs "%LOCALAPPDATA%\pip\Cache"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化