Add basic travis-ci configuration

This commit is contained in:
Christoph Reiter 2017-04-09 17:54:04 +02:00
parent b02eebc28a
commit 037ba8abc2
2 changed files with 33 additions and 0 deletions

30
.travis.yml Normal file
View File

@ -0,0 +1,30 @@
matrix:
include:
- os: linux
dist: trusty
language: python
python: "2.7"
- os: linux
dist: trusty
language: python
python: "3.3"
- os: linux
dist: trusty
language: python
python: "3.4"
- os: linux
dist: trusty
language: python
python: "3.5"
- os: linux
dist: trusty
language: python
python: "3.6"
install:
- travis_retry sudo apt-get update -q
- travis_retry sudo apt-get install -y libcairo2-dev
- python -m pip install --upgrade pytest
script:
- python setup.py test

View File

@ -17,3 +17,6 @@ look at `cairocffi <https://cairocffi.readthedocs.io>`__. Pycairo is licensed
under the **LGPLv2.1** as well as the **MPLv1.1**.
For more information visit https://pycairo.readthedocs.io
.. image:: https://travis-ci.org/pygobject/pycairo.svg?branch=master
:target: https://travis-ci.org/pygobject/pycairo