Skip to content

Commit c02e9ce

Browse files
committed
[NEW] Add dependencies.sh
1 parent 25154b4 commit c02e9ce

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: python
22

3-
sudo: false
3+
sudo: required
44

55
python:
66
- 2.7
@@ -14,6 +14,7 @@ env:
1414
- ODOO_VERSION=10
1515

1616
before_install:
17+
- ./dependencies.sh
1718
- mkdir -p $HOME/buildout-cache/{eggs,downloads}
1819
- virtualenv .
1920
- bin/pip install --upgrade pip setuptools zc.buildout

dependencies.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
sudo apt-get install nodejs npm node-less
2+
sudo npm install -g less-plugin-clean-css
3+
sudo ln -s /usr/local/bin/lessc /usr/bin/lessc
4+
sudo ln -s /usr/bin/nodejs /usr/bin/node
5+

0 commit comments

Comments
 (0)