Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Travis: --enable-dba --with-gdbm --tcadb #164

Closed
wants to merge 1 commit into from

6 participants

@marc-mabe

This PR enables travis tests of ext/dba with the handlers inifile (buildin), flatfile (buildin), cdb (buildin), gdbm and tcadb.

I also would like to add --with-db4 but can't compile :( - see http://travis-ci.org/#!/marc-mabe/php-src/builds/2138877

@travisbot

This pull request fails (merged 99ca7f8 into 018395e).

@reeze

PHP's test didn't passed in Travis as travisbot reported. currently, it seems useless :(

@nikic
Owner

It would be nice to get a clean build before adding any more stuff. Right now Travis isn't particularly helpful as it always fails ^^

@marc-mabe

Sure, we need a clean build but it should be clean for all build-in functions. Else we could disable other failed extensions to get a clean build but this doesn't help.

Travis should run all possible test and the bugs/tests should be fixed instead of ignoring tests.

@lstrojny

@reeze I agree with @nikic here. We need to fix the travis build first (btw: any takers welcome) and than enable more and more extension.

@php-pulls
Collaborator

Comment on behalf of lstrojny at php.net:

Closing for now

@php-pulls php-pulls closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 16, 2012
  1. @marc-mabe
This page is out of date. Refresh to see the latest.
Showing with 9 additions and 2 deletions.
  1. +4 −0 .travis.yml
  2. +5 −2 travis/compile.sh
View
4 .travis.yml
@@ -10,6 +10,10 @@ notifications:
env:
- REPORT_EXIT_STATUS=1 TEST_PHP_EXECUTABLE=./sapi/cli/php
+before_install:
+ # Required by dba-tcadb
+ - sudo apt-get install -qq libtokyocabinet-dev
+
before_script:
# Compile PHP
- ./travis/compile.sh
View
7 travis/compile.sh
@@ -1,14 +1,17 @@
#!/bin/bash
./buildconf
./configure \
+--without-pear \
--with-pdo-mysql \
--with-mysql \
--with-mysqli \
--with-pgsql \
--with-pdo-pgsql \
--with-pdo-sqlite \
+--enable-dba \
+--with-gdbm \
+--with-tcadb \
--enable-intl \
---without-pear \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
@@ -36,4 +39,4 @@
--enable-bcmath \
--enable-fastcgi \
--with-mime-magic
-make
Something went wrong with that request. Please try again.