Skip to content

About

PECL installation script with cache for Travis CI

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

24 Commits

Folders and files

Repository files navigation

phwoolcon/ci-pecl-cacher

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.

About

PECL installation script with cache for Travis CI

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages