Skip to content

Commit

Permalink
- run tests with sf 2.0.12
Browse files Browse the repository at this point in the history
- add build status icon
  • Loading branch information
Cédric G committed Apr 17, 2012
1 parent 7781013 commit 81024c9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ php:
- 5.3

env:
- SYMFONY_VERSION=v2.0.9
- SYMFONY_VERSION=v2.0.12

before_script: php Tests/vendors.php
script: phpunit
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ Overview

This Symfony2 bundle aims to provide classes to build a form filter and then build a doctrine query from this form filter.

[![Build Status](https://secure.travis-ci.org/lexik/LexikFormFilterBundle.png?branch=master)](http://travis-ci.org/lexik/LexikFormFilterBundle)

The idea is:

1. Create a form type extending from `Symfony\Component\Form\AbstractType` as usual
2. Add form fields by using filter types instead of form types (e.g. use `filter_text` instead of `text` type)
3. Then call a service to build the query from the form instance.


Documentation
=============

Expand Down
15 changes: 11 additions & 4 deletions Tests/vendors.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,19 @@

$revs = array(
'v2.0.9' => array(
'symfony' => 'v2.0.9',
'doctrine-common' => '2.1.4',
'doctrine-dbal' => '2.1.5',
'doctrine' => '2.1.5',
'symfony' => 'v2.0.9',
'doctrine-common' => '2.1.4',
'doctrine-dbal' => '2.1.5',
'doctrine' => '2.1.5',
'doctrine-fixtures' => 'origin/master'
),
'v2.0.12' => array(
'symfony' => 'v2.0.12',
'doctrine-common' => '2.1.4',
'doctrine-dbal' => '2.1.6',
'doctrine' => '2.1.6',
'doctrine-fixtures' => 'origin/master',
),
);

if (!isset($_SERVER['SYMFONY_VERSION'])) {
Expand Down

0 comments on commit 81024c9

Please sign in to comment.