X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=README.md;h=64187d5864d8d92b133e2fa2b5219bd1eb407dd9;hb=547c8e89e38d6e899914c05ddf6598669bd16532;hp=c9352a864e4bac4a986683f6f023d9ec842949f2;hpb=3d880c84e94ed6eee885dec36931d67d37232fea;p=m6w6%2Fpecl-ci diff --git a/README.md b/README.md index c9352a8..64187d5 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# travis-pecl +# pecl-ci -These few lines of code support building and testing PHP extensions on Travis-CI. +These few lines of code support building and testing PHP extensions on CI. ## Usage First, we'll add this repo to our extension as submodule: - git submodule add -n travis-pecl https://github.com/m6w6/travis-pecl.git travis/pecl + git submodule add -n pecl-ci https://github.com/m6w6/pecl-ci.git scripts/ci git submodule update --init Let's build a `.travis.yml`by example. We'll use a simple PHP script, e.g. `gen_travis_yml.php`, @@ -33,7 +33,7 @@ which will generate the configuration for us: before_script: # build the matrix' PHP version - - make -f travis/pecl/Makefile php + - make -f scripts/ci/Makefile php # build the extension, the PECL variable expects the extension name # and optionally the soname and a specific version of the extension # separeated by double colon, e.g. PECL=myext:ext:1.7.5 - - make -f travis/pecl/Makefile ext PECL=myext + - make -f scripts/ci/Makefile ext PECL=myext script: # run the PHPT test suite - - make -f travis/pecl/Makefile test + - make -f scripts/ci/Makefile test That's it, more TBD.