forked from trobz/openerp-booking-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis_install_nightly.sh
executable file
·41 lines (30 loc) · 1.35 KB
/
.travis_install_nightly.sh
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
#!/bin/bash
# Install the nightly version of OpenERP
cd ..
rm openerp src cmd addons -rf
# install dependencies
sudo apt-get -ym install python-dateutil python-docutils python-feedparser python-gdata python-jinja2 python-ldap python-lxml python-mako python-mock python-openid python-psycopg2 python-psutil python-pybabel python-pychart python-pydot python-pyparsing python-reportlab python-simplejson python-tz python-unittest2 python-vatnumber python-vobject python-webdav python-werkzeug python-xlwt python-yaml python-zsi python-imaging bzr python-pip
sudo apt-get -ym install phantomjs
sudo pip install unittest2 QUnitSuite
# get openerp nightly build
wget http://nightly.openerp.com/7.0/nightly/src/openerp-7.0-latest.tar.gz
# extract and setup openerp
mkdir -p src
tar -xf openerp-7.0-latest.tar.gz -C src
for f in ./src/*
do
echo "$f" | grep -Eq '^\./abc.[0-9]+$' && continue
echo "Something with $f here"
done
mv $f openerp
rm -rf ./src
# install oe command from openobject-server trunk repo
mkdir cmd -p
cd cmd
bzr export openerpcommand lp:openobject-server/openerpcommand/
wget http://bazaar.launchpad.net/~openerp/openobject-server/trunk/download/head:/oe-20130111134433-deitrzi0ymox3e5l-1/oe
sudo chmod a+x oe
cd ..
# clone module dependencies
git clone git://github.com/trobz/openerp-web-unleashed.git addons
#sudo python setup.py --quiet install