Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Begin using Travis CI builds
Browse files Browse the repository at this point in the history
  • Loading branch information
icgood committed Feb 4, 2016
1 parent 667665d commit 8456c02
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.py[cod]
.venv/
.cache/

# C extensions
*.so
Expand Down
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
install:
- travis_retry pip install -r test/requirements.txt
- travis_retry pip install git+https://github.com/slimta/python-slimta.git
- travis_retry pip install coveralls
- travis_retry pip install -e .
script: py.test --cov=slimta
after_success:
- coveralls
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ Adds a [Celery][4] based queue extension to python-slimta. This queue is
intended to replace the built-in queuing mechanisms and allows for a more
distributed model of reception, storage and delivery.

[![Build Status](http://ci.slimta.org/job/python-slimta-celeryqueue/badge/icon)](http://ci.slimta.org/job/python-slimta-celeryqueue/)
[![Build Status](https://travis-ci.org/slimta/python-slimta-celeryqueue.svg?branch=master)](https://travis-ci.org/slimta/python-slimta-celeryqueue)
[![Coverage Status](https://coveralls.io/repos/github/slimta/python-slimta-celeryqueue/badge.svg?branch=master)](https://coveralls.io/github/slimta/python-slimta-celeryqueue?branch=master)

Getting Started
===============
Expand All @@ -22,7 +23,7 @@ Started" section. Once inside your virtualenv:

To run the suite of included unit tests:

(.venv)$ nosetests
(.venv)$ py.test

Refer to the [API Documentation][2] and [Manual][3] for more information on
using this extension.
Expand Down
4 changes: 4 additions & 0 deletions test/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pytest
pytest-cov
mox3
flake8

0 comments on commit 8456c02

Please sign in to comment.