Permalink
Browse files

Added travis-ci file

  • Loading branch information...
1 parent 39d0a88 commit 8927b971ec5dd694294f94c4700dc77f957ec7e9 @willdurand willdurand committed Apr 6, 2012
Showing with 20 additions and 0 deletions.
  1. +20 −0 .travis.yml
View
@@ -0,0 +1,20 @@
+language: php
+
+php:
+ - 5.3
+ - 5.4
+
+env:
+ - DB=mysql DB_USER=root
+
+before_script:
+ # MySQL
+ - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database test; create schema bookstore_schemas; create schema contest; create schema second_hand_books;'; fi"
+
+ # Composer
+ - wget http://getcomposer.org/composer.phar
+ - php composer.phar install
+
+ - ./test/reset_tests.sh
+
+script: phpunit

0 comments on commit 8927b97

Please sign in to comment.