I developed a bundle to setup maintenance mode on a SF app.
I also wrote tests for it, and this works if
- I run test suite within a complete SF environment (i.e. run
./vendor/bin/simple-phpunit -c ./vendor/lch/maintennance-bundle/phpunit.xml.dist
) - I target
config/bootstrap.php
on my bundle test suite.
I recently added Travis support and I can't find proper way to make my test run in th CI context.
Actual bootstrap.php
contains a simple autoload.php
include, but Travis keeps telling me it can't find even namespaces.
- Should I use a boostrap to create application?
- What to put in it in order to bootstrap my minimal application?