Sunday, January 4, 2015¶
Getting started on Travis¶
Tilt! (see yesterday) The test suite on travis fails because
initdb has not been running. So in Lino’s
script: python setup.py test
script: fab initdb test
And yes (Python is cool): it works. The next build successfully initializes all demo databases.
But still some test cases fail with an
such table: users_user. Strange. I can reproduce it locally:
$ cd ~/tmp $ virtualenv 0104 $ . 0104/bin/activate $ go lino $ pip install . $ fab initdb test
Maybe it is because the database files (default.db) get written to the source tree? To be continued…
atelier error reporting in some edge situations:
atelier.projects.add_project()was used to declare a project which had no
fabfile.py, this caused an irritating
ImportError: No module named fabfileeven when a fab command was invoked from another project.
I reformulated the error message
Check doc_trees in your project's main module.by
Check your project's doc_trees setting.