1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 16:37:47 +03:00

Remove obsolete testing files

This commit is contained in:
Simon Sapin 2014-01-08 18:52:03 +00:00
parent 9e2a8567bb
commit 79876de657
2 changed files with 0 additions and 60 deletions

View File

@ -1,29 +0,0 @@
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
- sudo apt-get -qy update
- sudo -E apt-get -qy install python3-gi python3-gi-cairo
install:
- rm $VIRTUAL_ENV/lib/*/no-global-site-packages.txt
- pip install --use-mirrors .
script: py.test

31
Vagrantfile vendored
View File

@ -1,31 +0,0 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# To use this, install Vagrant from http://vagrantup.com/ and VirtualBox
# then run 'vagrant up'
# It should automatically download an Ubuntu 10.04 virtual machine,
# install WeasyPrint with PyGTK in it and run the test suite.
# The point is to test that everything works fine with an older distribution.
# To only run the test suite later, use
# vagrant ssh -c '~/venv/bin/py.test /vagrant/weasyprint'
Vagrant::Config.run do |config|
config.vm.box = "weasyprint-lucid32"
config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
config.vm.provision :shell, :inline => <<-EOF
export DEBIAN_FRONTEND=noninteractive
apt-get update --force-yes -y
apt-get install --force-yes -y --no-install-recommends \
imagemagick python-lxml python-gtk2 python-virtualenv python-dev
sudo -u vagrant -s '
cd ~vagrant
virtualenv venv
# The project root directory is mounted at /vagrant
venv/bin/pip install pytest -e /vagrant
venv/bin/py.test /vagrant/weasyprint
'
EOF
end