diff --git a/.travis.yml b/.travis.yml index 2f84fa845e..3a61821159 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/src/Propel/Generator/Command/TestPrepare.php b/src/Propel/Generator/Command/TestPrepare.php index 4aa82e3664..d118bceafd 100644 --- a/src/Propel/Generator/Command/TestPrepare.php +++ b/src/Propel/Generator/Command/TestPrepare.php @@ -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'), ); /**