phwoolcon/ci-pecl-cacher

带有缓存功能的PECL安装脚本,适用于Travis CI

v1.0.4 2018-06-07 07:52 UTC

This package is auto-updated.

Last update: 2024-08-29 03:17:11 UTC


README

Latest Version on Packagist Build Status Total Downloads Software License

带有缓存功能的PECL安装脚本,适用于Travis CI

安装

通过Composer

$ composer require phwoolcon/ci-pecl-cacher

使用方法

编辑 .travis.yml

vim .travis.yml

以启用缓存支持

cache:
  directories:
    - $HOME/pecl_cache

以安装PECL扩展

before_install:
  - composer require phwoolcon/ci-pecl-cacher -n
  # Cache till new version
  - vendor/bin/ci-pecl-install swoole
  # Cache and skip version check
  - vendor/bin/ci-pecl-install swoole skip-update
  # Cache a package that has a different .so name from the package name
  - vendor/bin/ci-pecl-install libsodium sodium
  # Cache a specific version of a package (.so name required)
  - vendor/bin/ci-pecl-install grpc-1.9.0 grpc

请参阅 结果

变更日志

有关最近更改的更多信息,请参阅 CHANGELOG

安全性

如果您发现任何安全相关的问题,请通过电子邮件 fishdrowned@gmail.com 而不是使用问题跟踪器来报告。

鸣谢

许可协议

Apache License,版本2.0。请参阅 许可文件 获取更多信息。