swh:1:snp:4b85fa9d84e6c1f1f92230049bf7ca15aece4632
Tip revision: ce747f374bce280f2cec4f4ae3697d6f75033538 authored by Jim Allman on 14 January 2016, 16:27:27 UTC
Change default API scheme to HTTPS
Change default API scheme to HTTPS
Tip revision: ce747f3
.travis.yml
language: python
python:
# - "2.6"
- "2.7"
# - "3.3"
# - "pypy"
before_install:
- git submodule update --init --recursive
install:
- "git clone https://github.com/OpenTreeOfLife/peyotl.git && cd peyotl && pip install -r requirements.txt && python setup.py develop && cd .. "
- pip install -r requirements.txt --use-mirrors
# Travis builder defaults don't play nicely with multiprocessing.Queue
- "sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm"
before_script:
- wget https://github.com/web2py/web2py/archive/R-2.4.4.zip
- unzip R-2.4.4.zip
- export API_BASE_DIR=`pwd`
- cd web2py-R-2.4.4
- cd applications
# move the default welcome app out of the way
- mv welcome welcome.back
# make the root of this repo the default application
- ln -sf $API_BASE_DIR welcome
- cd ..
- python web2py.py -i localhost --nogui --debug=0 -p 8000 -a 'supersekret' &> web2py.log &
- sleep 3 # give the webserver time to startup
- cat web2py.log
- cd ..
- git status -sbu
script:
- true
after_script:
- git status -sbu
- cat web2py-*/web2py.log
- ps auxw|grep python
- sudo dmesg | tail -n50
notifications:
irc:
channels: "chat.freenode.net#opentreeoflife"
email:
on_success: change
on_failure: always
env:
services:
# - redis-server