I pass the environment variable through the controller. php run
migrationrun create env=..


2014-03-16 12:08 GMT+02:00 Dionysis Zindros <notifications@github.com>:

> In .travis.yml:
>
> > @@ -3,7 +3,6 @@ php:
> >      - 5.5
> >  before_script:
> >      - mysql -e 'create database endofcodes_test;'
> > -    - cd database/migration
> > -    - for i in `find .|sort|grep -v ^.$|grep -v migrate.php`; do ENVIRONMENT=test DB_NAME=travis DB_PASSWORD='' php $i; done
> > -    - cd ../..
> > +    - ENVIRONMENT=test
> > +    - php run migrationrun create all=yes
>
> You probably want to combine these; otherwise the first line isn't
> applicable to the second:
>
> ENVIRONMENT=test php run migrationrun create all=yes
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/dionyziz/endofcodes/pull/147/files#r10638815>
> .
>