Add a --test option to docgen.py that will run the sphinx build with warning treated as errors.
Extract the travis commands to an external script.
Fix a couple of simple mistakes that would prevent the tests from running correctly.
Change the tests to use the new script and enable the test for the doc building.
Properly escape shell variable and make sure to pass the PART to theano-nose.
Make the script execution explicit.
Apparently == is a bashism and the shell on travis is strictly POSIX.
Also install sphinx and numpydoc so that we can actually build the docs.
We need to split the PART into its component arguments for it to work properly.
Apparently we need to be explicit about failure otherwise it will think the tests passed.
made scripts.mlp into a moduel
fixed sphinx build