Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Travis CI configuration #71

Merged
merged 4 commits into from
Sep 29, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: python

python:
- "2.7"

# Twisted is required for trial.
install: "pip install twisted==13.2.0 ."

script: trial twistedchecker

# Dump trial log on failure.
after_failure: "cat _trial_temp/test.log"
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ TwistedChecker's dependencies are pylint (== 0.26.0) and a recent version of PEP
Tests
-----

.. image:: https://travis-ci.org/chevah/twistedchecker.svg?branch=master
:target: https://travis-ci.org/chevah/twistedchecker

To test twistedchecker, run the following in the source directory::

trial twistedchecker