I was able to get Travis to work with my app by cloning Web2Py into the top 
level of my app directory during the Travis installation phase, then 
creating a symlink from the Web2Py applications directory to my app. 
 Here's a snippet of the .travis.xml file:

install:
  - pip install -r requirements.txt
  - git clone --recurse-submodules https://github.com/web2py/web2py.git
  - cd web2py; touch welcome.w2p; cd applications; ln -s ../../. MYAPP; mkdir 
MYAPP/databases; cd ..

script: ./web2py.py --test MYAPP/test


Two notes:


   - The "touch welcome.w2p" is just to suppress the error message that Web2Py 
currently generates when it starts up the first time.
   - The "mkdir MYAPP/databases" keeps Web2Py from crashing with a "database 
doesn't exist error" when it starts in test mode.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to