diff options
author | Davey Shafik <me@daveyshafik.com> | 2012-04-27 21:27:29 -0400 |
---|---|---|
committer | Davey Shafik <me@daveyshafik.com> | 2012-05-28 06:22:25 -0400 |
commit | 0fe8b495add557251519050bb94b5dd451d9f7cb (patch) | |
tree | e79d4b1d511a81a12ad51aadeab0975c783a1cd4 /travis | |
parent | f15beda158a8fbb16823baf3801409356b79cb4f (diff) | |
download | php-git-0fe8b495add557251519050bb94b5dd451d9f7cb.tar.gz |
Add extension configs, compile more extensions
Diffstat (limited to 'travis')
-rwxr-xr-x | travis/compile.sh | 39 | ||||
-rwxr-xr-x | travis/ext/mysql/setup.sh | 2 | ||||
-rwxr-xr-x | travis/ext/mysqli/setup.sh | 2 | ||||
-rwxr-xr-x | travis/ext/pdo_mysql/setup.sh | 2 | ||||
-rwxr-xr-x | travis/ext/pdo_pgsql/setup.sh | 2 | ||||
-rwxr-xr-x | travis/ext/pgsql/setup.sh | 4 |
6 files changed, 49 insertions, 2 deletions
diff --git a/travis/compile.sh b/travis/compile.sh index f80cc6bd0b..a0fc167a15 100755 --- a/travis/compile.sh +++ b/travis/compile.sh @@ -1,4 +1,39 @@ #!/bin/bash ./buildconf -./configure --with-pdo-mysql --with-mysql --with-sqlite --with-pdo-sqlite -make +./configure \ +--with-pdo-mysql \ +--with-mysql \ +--with-mysqli \ +--with-pgsql \ +--with-pdo-pgsql \ +--with-pdo-sqlite \ +--enable-intl \ +--without-pear \ +--with-gd \ +--with-jpeg-dir=/usr \ +--with-png-dir=/usr \ +--enable-exif \ +--enable-zip \ +--with-zlib \ +--with-zlib-dir=/usr \ +--with-mcrypt=/usr \ +--enable-soap \ +--enable-xmlreader \ +--with-xsl \ +--with-curl=/usr \ +--with-tidy \ +--with-xmlrpc \ +--enable-sysvsem \ +--enable-sysvshm \ +--enable-shmop \ +--enable-pcntl \ +--with-readline \ +--enable-mbstring \ +--with-curl \ +--with-gettext \ +--enable-sockets \ +--with-bz2 \ +--enable-bcmath \ +--enable-fastcgi \ +--with-mime-magic +make
\ No newline at end of file diff --git a/travis/ext/mysql/setup.sh b/travis/ext/mysql/setup.sh new file mode 100755 index 0000000000..994fad1376 --- /dev/null +++ b/travis/ext/mysql/setup.sh @@ -0,0 +1,2 @@ +#!/bin/bash +mysql -u root -e "CREATE DATABASE IF NOT EXISTS test" diff --git a/travis/ext/mysqli/setup.sh b/travis/ext/mysqli/setup.sh new file mode 100755 index 0000000000..994fad1376 --- /dev/null +++ b/travis/ext/mysqli/setup.sh @@ -0,0 +1,2 @@ +#!/bin/bash +mysql -u root -e "CREATE DATABASE IF NOT EXISTS test" diff --git a/travis/ext/pdo_mysql/setup.sh b/travis/ext/pdo_mysql/setup.sh new file mode 100755 index 0000000000..994fad1376 --- /dev/null +++ b/travis/ext/pdo_mysql/setup.sh @@ -0,0 +1,2 @@ +#!/bin/bash +mysql -u root -e "CREATE DATABASE IF NOT EXISTS test" diff --git a/travis/ext/pdo_pgsql/setup.sh b/travis/ext/pdo_pgsql/setup.sh new file mode 100755 index 0000000000..6f16f72cc2 --- /dev/null +++ b/travis/ext/pdo_pgsql/setup.sh @@ -0,0 +1,2 @@ +#!/bin/bash +export PDO_PGSQL_TEST_DSN='pgsql:host=localhost port=5432 dbname=test user=postgres password='
\ No newline at end of file diff --git a/travis/ext/pgsql/setup.sh b/travis/ext/pgsql/setup.sh new file mode 100755 index 0000000000..32b39a4044 --- /dev/null +++ b/travis/ext/pgsql/setup.sh @@ -0,0 +1,4 @@ +#!/bin/bash +echo ' +<?php $conn_str .= " user=postgres"; ?>' >> "./ext/pgsql/tests/config.inc" +psql -c 'create database test;' -U postgres
\ No newline at end of file |