Permalink
Browse files

Travis CI support.

  • Loading branch information...
1 parent a0acb6b commit dd5f820ab86d45e96b3577726713507c40dc3377 @chanmix51 committed Sep 17, 2012
Showing with 26 additions and 0 deletions.
  1. +12 −0 .travis.yml
  2. +14 −0 tests/phpunit.travis.xml
View
@@ -0,0 +1,12 @@
+laguage: php
+php:
+ - "5.3"
+ - "5.4"
+services: postgresql
+before_script:
+ - psql -c 'CREATE DATABASE pomm_test' -U postgres -h 127.0.0.1
+script: phpunit --configuration tests/phpunit.travis.xml
+
+branches;
+ only:
+ - master
View
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<phpunit bootstrap="./bootstrap/autoload.php">
+ <php>
+ <var name="dsn" value="pgsql://postgres@127.0.0.1/pomm_test" />
+ <var name="dev" value="false" />
+ </php>
+ <testsuites>
+ <testsuite name="Pomm Test Suite">
+ <directory>.</directory>
+ </testsuite>
+ </testsuites>
+</phpunit>
+

0 comments on commit dd5f820

Please sign in to comment.