From 66c61765150bd6cb7519ad1e153719d9bf90ccf9 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 4 Aug 2015 05:23:15 +0200 Subject: [PATCH] travis --- .gitmodules | 4 ++++ .travis.yml | 32 ++++++++++++++++++++++++++++++++ gen_travis_yml.php | 34 ++++++++++++++++++++++++++++++++++ travis/pecl | 1 + 4 files changed, 71 insertions(+) create mode 100644 .gitmodules create mode 100644 .travis.yml create mode 100755 gen_travis_yml.php create mode 160000 travis/pecl diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e53f88c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "travis-pecl"] + path = travis/pecl + url = https://github.com/m6w6/travis-pecl.git + branch = master diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..08724d5 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,32 @@ +# autogenerated file; do not edit +language: c + +addons: + apt: + packages: + - php5-cli + - php-pear + +env: + matrix: + - PHP=5.4 enable_debug=no enable_maintainer_zts=no + - PHP=5.5 enable_debug=no enable_maintainer_zts=no + - PHP=5.6 enable_debug=no enable_maintainer_zts=no + - PHP=5.4 enable_debug=yes enable_maintainer_zts=no + - PHP=5.5 enable_debug=yes enable_maintainer_zts=no + - PHP=5.6 enable_debug=yes enable_maintainer_zts=no + - PHP=5.4 enable_debug=no enable_maintainer_zts=yes + - PHP=5.5 enable_debug=no enable_maintainer_zts=yes + - PHP=5.6 enable_debug=no enable_maintainer_zts=yes + - PHP=5.4 enable_debug=yes enable_maintainer_zts=yes + - PHP=5.5 enable_debug=yes enable_maintainer_zts=yes + - PHP=5.6 enable_debug=yes enable_maintainer_zts=yes + +before_script: + - make -f travis/pecl/Makefile php + +script: + - make -f travis/pecl/Makefile ext PECL=apfd + - make -f travis/pecl/Makefile test + +sudo: false diff --git a/gen_travis_yml.php b/gen_travis_yml.php new file mode 100755 index 0000000..277c5a9 --- /dev/null +++ b/gen_travis_yml.php @@ -0,0 +1,34 @@ +#!/usr/bin/env php +# autogenerated file; do not edit +language: c + +addons: + apt: + packages: + - php5-cli + - php-pear + +env: + matrix: + ["5.4", "5.5", "5.6"], + "enable_debug", + "enable_maintainer_zts", +]); +foreach ($env as $e) { + printf(" - %s\n", $e); +} + +?> + +before_script: + - make -f travis/pecl/Makefile php + +script: + - make -f travis/pecl/Makefile ext PECL=apfd + - make -f travis/pecl/Makefile test + +sudo: false diff --git a/travis/pecl b/travis/pecl new file mode 160000 index 0000000..0815aa6 --- /dev/null +++ b/travis/pecl @@ -0,0 +1 @@ +Subproject commit 0815aa6d8727870e6bf8409700925abfaaf2b723 -- 2.30.2