2012-09-10 14:36:07 -04:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.6"
|
|
|
|
- "2.7"
|
|
|
|
install:
|
|
|
|
# Self-install for setup.py-driven deps
|
|
|
|
- pip install -e .
|
2014-01-10 23:07:43 -05:00
|
|
|
# Dev (doc/test running) requirements
|
|
|
|
- pip install coveralls # For coveralls.io specifically
|
|
|
|
- pip install -r dev-requirements.txt
|
2014-01-28 18:23:11 -05:00
|
|
|
script:
|
|
|
|
# Main tests, with coverage!
|
|
|
|
- coverage run --source=paramiko test.py --verbose
|
2014-01-28 18:53:26 -05:00
|
|
|
# Ensure documentation & invoke pipeline run OK.
|
|
|
|
# Run 'docs' first since its objects.inv is referred to by 'www'.
|
|
|
|
# Also force warnings to be errors since most of them tend to be actual
|
|
|
|
# problems.
|
|
|
|
- invoke docs -o -W
|
|
|
|
- invoke www -o -W
|
2012-09-10 14:36:07 -04:00
|
|
|
notifications:
|
|
|
|
irc:
|
2012-11-29 18:37:22 -05:00
|
|
|
channels: "irc.freenode.org#paramiko"
|
2013-12-31 22:24:10 -05:00
|
|
|
template:
|
|
|
|
- "%{repository}@%{branch}: %{message} (%{build_url})"
|
2012-09-10 14:36:07 -04:00
|
|
|
on_success: change
|
|
|
|
on_failure: change
|
2013-12-31 22:24:10 -05:00
|
|
|
use_notice: true
|
|
|
|
email: false
|
2014-01-21 12:50:20 -05:00
|
|
|
after_success:
|
|
|
|
- coveralls
|