phwoolcon/ci-pecl-cacher

PECL installing script with cache for Travis CI

Installs: 851 822

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 2

Open Issues: 1

Language:Shell

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

This package is auto-updated.

Last update: 2024-10-29 03:40:11 UTC


README

Latest Version on Packagist Build Status Total Downloads Software License

PECL installation script with cache for Travis CI

Install

Via Composer

$ composer require phwoolcon/ci-pecl-cacher

Usage

Edit .travis.yml

vim .travis.yml

To enable cache support:

cache:
  directories:
    - $HOME/pecl_cache

To install PECL extension:

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

See result.

Change log

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email fishdrowned@gmail.com instead of using the issue tracker.

Credits

License

The Apache License, Version 2.0. Please see License File for more information.