From: Michael Wallner Date: Fri, 7 Aug 2015 12:12:36 +0000 (+0200) Subject: travis X-Git-Tag: RELEASE_3_0_0_RC1~33 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=aa6bad843b38494eeceb6d172b781fffb2a9998f;p=m6w6%2Fext-http travis --- diff --git a/.gitignore b/.gitignore index c78e2b8..c1517d9 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ tests/*.sh lcov_data *~ *.phar +!travis/*.phar diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..a6571dc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,36 @@ +# autogenerated file; do not edit +language: c + +addons: + apt: + packages: + - php5-cli + - php-pear + - libcurl4-openssl-dev + - zlib1g-dev + - libidn11-dev + - libevent-dev + +env: + - PHP=master enable_debug=no enable_maintainer_zts=no enable_json=no enable_hash=yes enable_iconv=yes + - PHP=master enable_debug=yes enable_maintainer_zts=no enable_json=no enable_hash=yes enable_iconv=yes + - PHP=master enable_debug=no enable_maintainer_zts=yes enable_json=no enable_hash=yes enable_iconv=yes + - PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=no enable_hash=yes enable_iconv=yes + - PHP=master enable_debug=no enable_maintainer_zts=no enable_json=yes enable_hash=yes enable_iconv=yes + - PHP=master enable_debug=yes enable_maintainer_zts=no enable_json=yes enable_hash=yes enable_iconv=yes + - PHP=master enable_debug=no enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes + - PHP=master enable_debug=yes enable_maintainer_zts=yes enable_json=yes enable_hash=yes enable_iconv=yes + +before_script: + - make -f travis/pecl/Makefile php + - make -f travis/pecl/Makefile raphf-phpng.ext.phar + - make -f travis/pecl/Makefile propro-phpng.ext.phar + +script: + - make -f travis/pecl/Makefile ext PECL=http + - make -f travis/pecl/Makefile test + +after_script: + - test -e tests/helper/server.log && cat tests/helper/server.log + +sudo: false diff --git a/gen_travis_yml.php b/gen_travis_yml.php index 1c1dba3..d2e518f 100755 --- a/gen_travis_yml.php +++ b/gen_travis_yml.php @@ -32,8 +32,8 @@ foreach ($env as $e) { before_script: - make -f travis/pecl/Makefile php - - make -f travis/pecl/Makefile pecl PECL=raphf - - make -f travis/pecl/Makefile pecl PECL=propro + - make -f travis/pecl/Makefile raphf-phpng.ext.phar + - make -f travis/pecl/Makefile propro-phpng.ext.phar script: - make -f travis/pecl/Makefile ext PECL=http diff --git a/travis/pecl b/travis/pecl index 6a47e13..c7e0883 160000 --- a/travis/pecl +++ b/travis/pecl @@ -1 +1 @@ -Subproject commit 6a47e13bf2dac6b71ebdc24c7386b650f3439179 +Subproject commit c7e08833ec313ed5b92a9ac30283e4f183480f3b diff --git a/travis/propro-phpng.ext.phar b/travis/propro-phpng.ext.phar new file mode 100755 index 0000000..c88eb45 Binary files /dev/null and b/travis/propro-phpng.ext.phar differ diff --git a/travis/raphf-phpng.ext.phar b/travis/raphf-phpng.ext.phar new file mode 100755 index 0000000..b226eb0 Binary files /dev/null and b/travis/raphf-phpng.ext.phar differ