Skip to content
This repository
Browse code

debug

  • Loading branch information...
commit 81a9640fb38d896424a8663969104e316c27ff8a 1 parent 2f1429e
William Durand willdurand authored

Showing 2 changed files with 27 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 .travis.yml
  2. +24 0 tests/travisci
4 .travis.yml
@@ -7,8 +7,10 @@ before_script:
7 7 - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database test;'; fi"
8 8 - pyrus channel-discover pear.phing.info
9 9 - pyrus install phing/phing
  10 + - phpenv rehash
10 11 - wget http://getcomposer.org/composer.phar
11 12 - php composer.phar install
12   - - php bin/propel test:prepare --vendor="$DB" --dsn="$DB:dbname=test" --user="root"
  13 + - php bin/propel test:prepare --vendor=mysql --dsn=mysql:dbname=test --user=root
  14 + - tests/travisci
13 15
14 16 script: phpunit
24 tests/travisci
... ... @@ -0,0 +1,24 @@
  1 +#!/usr/bin/env bash
  2 +
  3 +CURRENT="/home/vagrant/builds/willdurand/Propel2"
  4 +PROPEL_GEN="$CURRENT/tools/generator/bin/propel-gen"
  5 +
  6 +cd "$CURRENT/tests/Fixtures/bookstore"
  7 +$PROPEL_GEN convert-conf
  8 +$PROPEL_GEN insert-sql
  9 +cd "$CURRENT"
  10 +
  11 +cd "$CURRENT/tests/Fixtures/bookstore-packaged"
  12 +$PROPEL_GEN convert-conf
  13 +$PROPEL_GEN insert-sql
  14 +cd "$CURRENT"
  15 +
  16 +cd "$CURRENT/tests/Fixtures/namespaced"
  17 +$PROPEL_GEN convert-conf
  18 +$PROPEL_GEN insert-sql
  19 +cd "$CURRENT"
  20 +
  21 +cd "$CURRENT/tests/Fixtures/schemas"
  22 +$PROPEL_GEN convert-conf
  23 +$PROPEL_GEN insert-sql
  24 +cd "$CURRENT"

0 comments on commit 81a9640

Please sign in to comment.
Something went wrong with that request. Please try again.