2012-05-07 15:31:23 +04:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- website
|
|
|
|
|
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
|
|
|
- "3.2"
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
# See http://weasyprint.org/install/
|
|
|
|
- sudo apt-get -qy install
|
|
|
|
gir1.2-pango-1.0 imagemagick libcairo2 libcairo-gobject2
|
|
|
|
python-lxml python-cairo python-gobject python-gobject-cairo
|
|
|
|
python3-lxml python3-cairo
|
|
|
|
|
|
|
|
# There is no python3-gobject-cairo in Ubuntu 11.10...
|
|
|
|
- sudo sed -i s/oneiric/precise/ /etc/apt/sources.list
|
2012-07-19 13:51:21 +04:00
|
|
|
- sudo apt-get -qy update
|
2012-05-07 15:31:23 +04:00
|
|
|
|
2012-07-19 13:51:21 +04:00
|
|
|
- sudo -E apt-get -qy install python3-gi python3-gi-cairo
|
2012-05-07 15:31:23 +04:00
|
|
|
|
|
|
|
install:
|
|
|
|
- rm $VIRTUAL_ENV/lib/*/no-global-site-packages.txt
|
|
|
|
- pip install --use-mirrors .
|
|
|
|
|
|
|
|
script: py.test
|