Permalink
Browse files

Fixed travis-ci

  • Loading branch information...
1 parent 511434b commit 353bb8a443dc15b966f8cafab26f827c16d4e8e1 @willdurand willdurand committed Mar 7, 2012
Showing with 5 additions and 2 deletions.
  1. +4 −1 .travis.yml
  2. +1 −1 src/Propel/Generator/Command/TestPrepare.php
View
@@ -4,7 +4,10 @@ env:
- DB=mysql
before_script:
- - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database test;'; fi"
+ # 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
- php bin/propel test:prepare --vendor="$DB" --dsn="$DB:dbname=test" --user="root"
@@ -47,7 +47,7 @@ class TestPrepare extends AbstractCommand
'bookstore-packaged' => array('bookstore-packaged', 'bookstore-log'),
'namespaced' => array('bookstore_namespaced'),
'reverse/mysql' => array('reverse-bookstore'),
- 'schemas' => array('bookstore'),
+ 'schemas' => array('bookstore-schemas'),
);
/**

0 comments on commit 353bb8a

Please sign in to comment.