remove travis
authorMichael Wallner <mike@php.net>
Thu, 30 Jul 2015 18:51:12 +0000 (20:51 +0200)
committerMichael Wallner <mike@php.net>
Thu, 30 Jul 2015 18:51:12 +0000 (20:51 +0200)
travis/compile-ext-pq.sh [deleted file]
travis/compile-ext-raphf.sh [deleted file]
travis/compile-php.sh [deleted file]
travis/configure-postgres.sh [deleted file]
travis/pecl/Makefile [deleted file]
travis/pecl/gen-matrix.php [deleted file]
travis/pecl/php-version.php [deleted file]

diff --git a/travis/compile-ext-pq.sh b/travis/compile-ext-pq.sh
deleted file mode 100755 (executable)
index a7813fe..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh -x
-
-set -e
-
-$HOME$BUILD_INSTALL_DIR/bin/phpize
-./configure --with-php-config=$HOME$BUILD_INSTALL_DIR/bin/php-config --with-pq
-
-make -j2 --quiet install
-
-echo 'extension=pq.so' > $HOME$BUILD_INSTALL_DIR/conf.d/20-pq.ini
diff --git a/travis/compile-ext-raphf.sh b/travis/compile-ext-raphf.sh
deleted file mode 100755 (executable)
index 4c5cb90..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh -x
-
-set -e
-
-git clone --depth 1 https://github.com/m6w6/ext-raphf $HOME$BUILD_SRC_DIR/raphf
-cd $HOME$BUILD_SRC_DIR/raphf
-
-$HOME$BUILD_INSTALL_DIR/bin/phpize
-./configure --with-php-config=$HOME$BUILD_INSTALL_DIR/bin/php-config
-
-make -j2 --quiet install
-
-echo 'extension=raphf.so' > $HOME$BUILD_INSTALL_DIR/conf.d/10-raphf.ini
diff --git a/travis/compile-php.sh b/travis/compile-php.sh
deleted file mode 100755 (executable)
index 83b0537..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh -x
-
-set -e
-
-mkdir -p $HOME$BUILD_SRC_DIR
-mkdir -p $HOME$BUILD_INSTALL_DIR/conf.d
-
-git clone --depth=1 --branch=$PHP_TARGET_REF https://github.com/php/php-src $HOME$BUILD_SRC_DIR/php-src
-
-cd $HOME$BUILD_SRC_DIR/php-src
-./buildconf --force
-./configure --quiet \
-  --prefix=$HOME$BUILD_INSTALL_DIR \
-  --with-config-file-scan-dir=$HOME$BUILD_INSTALL_DIR/conf.d \
-  --disable-all \
-  $PHP_CONFIGURE_OPTS \
-  $PHP_EXTENSIONS
-
-make -j2 --quiet install
diff --git a/travis/configure-postgres.sh b/travis/configure-postgres.sh
deleted file mode 100755 (executable)
index 09a41e2..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh -x
-
-PQ_CREATE_DB_SQL="CREATE DATABASE $PG_TEST_DB_NAME;"
-PQ_DSN="postgres://$PG_TEST_DB_USER@localhost/$PG_TEST_DB_NAME"
-
-psql -c "$PQ_CREATE_DB_SQL" -U $PG_TEST_DB_USER
-echo "<?php const PQ_DSN = '$PQ_DSN';" > ./tests/_setup.inc
diff --git a/travis/pecl/Makefile b/travis/pecl/Makefile
deleted file mode 100644 (file)
index 201d530..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-export
-
-PHP = 5.6
-JOBS ?= 2
-PHP_MIRROR ?= http://us1.php.net/distributions/
-
-prefix ?= $(HOME)
-exec_prefix ?= $(prefix)
-bindir = $(exec_prefix)/bin
-srcdir := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
-
-enable_maintainer_zts ?= no
-enable_debug ?= no
-enable_all ?= no
-with_config_file_scan_dir ?= $(prefix)/etc/php.d
-
-with_php_config ?= $(bindir)/php-config
-extdir = $(shell test -x $(with_php_config) && $(with_php_config) --extension-dir)
-
-PECL_MIRROR ?= http://pecl.php.net/get/
-PECL_EXTENSION ?= $(shell echo $(PECL) | cut -d: -f1)
-PECL_SONAME ?= $(if $(shell echo $(PECL) | cut -d: -f2),$(shell echo $(PECL) | cut -d: -f2),$(PECL_EXTENSION))
-PECL_VERSION ?= $(shell echo $(PECL) | cut -d: -f3 -s)
-PECL_INI = $(with_config_file_scan_dir)/pecl.ini
-
-PHP_VERSION ?= $(shell test -e $(srcdir)/php-versions.json && cat $(srcdir)/php-versions.json | /usr/bin/php $(srcdir)/php-version.php $(PHP))
-
-.PHONY: all php check clean reconf pecl ext test
-.SUFFIXES:
-
-all: php
-
-## -- PHP
-
-clean:
-       @if test -d $(srcdir)/php-$(PHP_VERSION); then cd $(srcdir)/php-$(PHP_VERSION); make distclean || true; done
-
-check: $(srcdir)/php-versions.json
-       @if test -z "$(PHP)"; then echo "No php version specified, e.g. PHP=5.6"; exit 1; fi
-
-reconf: check $(srcdir)/php-$(PHP_VERSION)/configure
-       cd $(srcdir)/php-$(PHP_VERSION) && ./configure -C --prefix=$(prefix)
-
-php: check $(bindir)/php
-
-$(srcdir)/php-versions.json: $(srcdir)/php-version.php
-       curl -Sso $@ http://php.net/releases/active.php
-
-$(srcdir)/php-$(PHP_VERSION)/configure: | $(srcdir)/php-versions.json
-       curl -Ss $(PHP_MIRROR)/php-$(PHP_VERSION).tar.bz2 | tar xj -C $(srcdir)
-
-$(srcdir)/php-$(PHP_VERSION)/Makefile: $(srcdir)/php-$(PHP_VERSION)/configure | $(srcdir)/php-versions.json
-       cd $(srcdir)/php-$(PHP_VERSION) && ./configure -C --prefix=$(prefix)
-
-$(srcdir)/php-$(PHP_VERSION)/sapi/cli/php: $(srcdir)/php-$(PHP_VERSION)/Makefile | $(srcdir)/php-versions.json
-       cd $(srcdir)/php-$(PHP_VERSION) && make -s -j $(JOBS) V=0 || make
-
-$(bindir)/php: $(srcdir)/php-$(PHP_VERSION)/sapi/cli/php | $(srcdir)/php-versions.json
-       cd $(srcdir)/php-$(PHP_VERSION) && make -s install V=0
-
-$(with_config_file_scan_dir):
-       mkdir -p $@
-
-## -- PECL
-
-pecl-check:
-       @if test -z "$(PECL)"; then echo "No pecl extension specified, e.g. PECL=pecl_http:http"; exit 1; fi
-
-$(PECL_INI): | $(with_config_file_scan_dir)
-       touch $@
-
-$(srcdir)/pecl-$(PECL_EXTENSION):
-       test -e $@ || ln -s $(CURDIR) $@
-
-$(srcdir)/pecl-$(PECL_EXTENSION)/config.m4:
-       mkdir -p $(srcdir)/pecl-$(PECL_EXTENSION)
-       curl -Ss $(PECL_MIRROR)/$(PECL_EXTENSION)$(if $(PECL_VERSION),/$(PECL_VERSION)) | tar xz --strip-components 1 -C $(srcdir)/pecl-$(PECL_EXTENSION)
-
-$(srcdir)/pecl-$(PECL_EXTENSION)/configure: $(srcdir)/pecl-$(PECL_EXTENSION)/config.m4
-       cd $(srcdir)/pecl-$(PECL_EXTENSION) && $(bindir)/phpize
-
-$(srcdir)/pecl-$(PECL_EXTENSION)/Makefile: $(srcdir)/pecl-$(PECL_EXTENSION)/configure
-       cd $(srcdir)/pecl-$(PECL_EXTENSION) && ./configure -C
-
-$(srcdir)/pecl-$(PECL_EXTENSION)/.libs/$(PECL_SONAME).so: $(srcdir)/pecl-$(PECL_EXTENSION)/Makefile
-       cd $(srcdir)/pecl-$(PECL_EXTENSION) && make -s -j $(JOBS) V=0 || make
-       
-$(extdir)/$(PECL_SONAME).so: $(srcdir)/pecl-$(PECL_EXTENSION)/.libs/$(PECL_SONAME).so
-       cd $(srcdir)/pecl-$(PECL_EXTENSION) && make -s install V=0
-               
-pecl: pecl-check php $(extdir)/$(PECL_SONAME).so | $(PECL_INI)
-       grep -q extension=$(PECL_SONAME).so $(PECL_INI) || echo extension=$(PECL_SONAME).so >> $(PECL_INI)
-
-ext: pecl-check $(srcdir)/pecl-$(PECL_EXTENSION) pecl
-
-test: php
-       REPORT_EXIT_STATUS=1 NO_INTERACTION=1 $(bindir)/php run-tests.php -p $(bindir)/php --show-diff tests
diff --git a/travis/pecl/gen-matrix.php b/travis/pecl/gen-matrix.php
deleted file mode 100644 (file)
index 90e0011..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-
-return function ($array) {
-       foreach ($array as $key => $values) {
-               if (is_numeric($key) && is_string($values)) {
-                       $key = $values;
-                       $values = ["no","yes"];
-               }
-               if (empty($apc)) {
-                       // seed
-                       foreach ($values as $val) {
-                               $apc[] = "$key=$val";
-                       }
-               } else {
-                       // combine
-                       $cpc = $apc;
-                       $apc = [];
-                       foreach ($values as $val) {
-                               foreach ($cpc as $e) {
-                                       $apc[] = "$e $key=$val";
-                               }
-                       }
-               }
-       }
-       return $apc;
-};
diff --git a/travis/pecl/php-version.php b/travis/pecl/php-version.php
deleted file mode 100644 (file)
index 761f09a..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php 
-
-$version = $argv[1];
-$versions = json_decode(stream_get_contents(STDIN), 1);
-
-list($major) = explode(".", $version, 2);
-
-if (isset($versions[$major][$version])) {
-       printf("%s\n", $versions[$major][$version]["version"]);
-}