Permalink
Browse files

debug

  • Loading branch information...
willdurand committed Mar 7, 2012
1 parent 2f1429e commit 81a9640fb38d896424a8663969104e316c27ff8a
Showing with 27 additions and 1 deletion.
  1. +3 −1 .travis.yml
  2. +24 −0 tests/travisci
View
@@ -7,8 +7,10 @@ before_script:
- sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database test;'; fi"
- pyrus channel-discover pear.phing.info
- pyrus install phing/phing
+ - phpenv rehash
- wget http://getcomposer.org/composer.phar
- php composer.phar install
- - php bin/propel test:prepare --vendor="$DB" --dsn="$DB:dbname=test" --user="root"
+ - php bin/propel test:prepare --vendor=mysql --dsn=mysql:dbname=test --user=root
+ - tests/travisci
script: phpunit
View
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+CURRENT="/home/vagrant/builds/willdurand/Propel2"
+PROPEL_GEN="$CURRENT/tools/generator/bin/propel-gen"
+
+cd "$CURRENT/tests/Fixtures/bookstore"
+$PROPEL_GEN convert-conf
+$PROPEL_GEN insert-sql
+cd "$CURRENT"
+
+cd "$CURRENT/tests/Fixtures/bookstore-packaged"
+$PROPEL_GEN convert-conf
+$PROPEL_GEN insert-sql
+cd "$CURRENT"
+
+cd "$CURRENT/tests/Fixtures/namespaced"
+$PROPEL_GEN convert-conf
+$PROPEL_GEN insert-sql
+cd "$CURRENT"
+
+cd "$CURRENT/tests/Fixtures/schemas"
+$PROPEL_GEN convert-conf
+$PROPEL_GEN insert-sql
+cd "$CURRENT"

0 comments on commit 81a9640

Please sign in to comment.