Start of CI config

This commit is contained in:
Timothy Warren 2012-03-22 15:07:27 -04:00
parent 356a2a920a
commit 4a581b5617
4 changed files with 16 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,2 @@
test_config.json test_config.json
tests/simpletest/*
index.html index.html

14
.travis.yml Normal file
View File

@ -0,0 +1,14 @@
language: php
php:
- 5.2
- 5.3
- 5.4
env:
- DB=mysql
- DB=pgsql
- DB=sqlite
before_script:
- mysql -e 'CREATE DATABASE test;'
- psql -c 'CREATE DATABASE test;' -U postgres
script: 'php ./tests/index.php'

View File

@ -2,6 +2,8 @@
A query builder/abstraction layer, using prepared queries for security. A query builder/abstraction layer, using prepared queries for security.
[![Build Status](https://secure.travis-ci.org/timw4mail/Query.png)](http://travis-ci.org/timw4mail/Query)
## Requirements ## Requirements
* Pdo extensions for the databases you wish to use (unless it's Firebird, in which case, the interbase extension is required) * Pdo extensions for the databases you wish to use (unless it's Firebird, in which case, the interbase extension is required)
* PHP 5.2+ * PHP 5.2+

Binary file not shown.