-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
53 lines (45 loc) · 1.31 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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
# 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