mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +03:00
Merge pull request #24 from msabramo/testing
Add support for tox (http://tox.testrun.org/) and Travis CI (http://travis-ci.org/)
This commit is contained in:
commit
a5738ae5a4
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
*.pyc
|
||||||
|
*.egg-info
|
||||||
|
build
|
||||||
|
dist
|
||||||
|
.tox
|
13
.travis.yml
Normal file
13
.travis.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
language: python
|
||||||
|
|
||||||
|
python:
|
||||||
|
- 2.5
|
||||||
|
- 2.6
|
||||||
|
- 2.7
|
||||||
|
# - 3.2
|
||||||
|
# - pypy
|
||||||
|
|
||||||
|
script:
|
||||||
|
- python setup.py clean
|
||||||
|
- python setup.py install
|
||||||
|
- python selftest.py
|
13
tox.ini
Normal file
13
tox.ini
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Tox (http://tox.testrun.org/) is a tool for running tests
|
||||||
|
# in multiple virtualenvs. This configuration file will run the
|
||||||
|
# test suite on all supported python versions. To use it, "pip install tox"
|
||||||
|
# and then run "tox" from this directory.
|
||||||
|
|
||||||
|
[tox]
|
||||||
|
envlist = py25, py26, py27
|
||||||
|
|
||||||
|
[testenv]
|
||||||
|
commands =
|
||||||
|
{envpython} setup.py clean
|
||||||
|
{envpython} setup.py install
|
||||||
|
{envpython} selftest.py
|
Loading…
Reference in New Issue
Block a user