forked from twisted/ldaptor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request twisted#5 from hawkowl/set-up-travis
Set up Travis to give ldaptor CI across Twisted 12.1 to 14.0 + Trunk
- Loading branch information
Showing
4 changed files
with
231 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
*.pyo | ||
/_trial_temp | ||
/build | ||
/.tox | ||
/doc/addressbook-session | ||
/doc/addressbook-slides | ||
/doc/api | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
language: python | ||
python: 2.7 | ||
|
||
env: | ||
- TOX_ENV=pyflakes | ||
- TOX_ENV=py26 | ||
- TOX_ENV=py27 | ||
- TOX_ENV=pypy | ||
- TOX_ENV=py26-twtrunk | ||
- TOX_ENV=py27-twtrunk | ||
- TOX_ENV=pypy-twtrunk | ||
- TOX_ENV=py26-tw140 | ||
- TOX_ENV=py27-tw140 | ||
- TOX_ENV=pypy-tw140 | ||
- TOX_ENV=py26-tw132 | ||
- TOX_ENV=py27-tw132 | ||
- TOX_ENV=pypy-tw132 | ||
- TOX_ENV=py26-tw131 | ||
- TOX_ENV=py27-tw131 | ||
- TOX_ENV=pypy-tw131 | ||
- TOX_ENV=py26-tw130 | ||
- TOX_ENV=py27-tw130 | ||
- TOX_ENV=pypy-tw130 | ||
- TOX_ENV=py26-tw123 | ||
- TOX_ENV=py27-tw123 | ||
- TOX_ENV=pypy-tw123 | ||
- TOX_ENV=py26-tw122 | ||
- TOX_ENV=py27-tw122 | ||
- TOX_ENV=pypy-tw122 | ||
- TOX_ENV=py26-tw121 | ||
- TOX_ENV=py27-tw121 | ||
- TOX_ENV=pypy-tw121 | ||
|
||
script: pip install tox && tox -e $TOX_ENV | ||
|
||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
include MANIFEST.in | ||
include TODO | ||
include README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,192 @@ | ||
[tox] | ||
envlist = | ||
py26,py27,pypy, | ||
py26-tw140,py27-tw140,pypy-tw140, | ||
py26-tw132,py27-tw132,pypy-tw132, | ||
py26-tw131,py27-tw131,pypy-tw131, | ||
py26-tw130,py27-tw130,pypy-tw130, | ||
py26-tw123,py27-tw123,pypy-tw123, | ||
py26-tw122,py27-tw122,pypy-tw122, | ||
py26-tw121,py27-tw121,pypy-tw121, | ||
pyflakes | ||
|
||
########################### | ||
# Uses current Twisted | ||
########################### | ||
|
||
[testenv:py26] | ||
deps = | ||
{[testenv]deps} | ||
Twisted | ||
|
||
[testenv:py27] | ||
deps = {[testenv:py26]deps} | ||
|
||
[testenv:pypy] | ||
deps = {[testenv:py26]deps} | ||
|
||
########################### | ||
# Uses trunk Twisted | ||
########################### | ||
|
||
[testenv:py26-twtrunk] | ||
basepython = python2.6 | ||
deps = | ||
{[testenv]deps} | ||
git+git://github.com/twisted/twisted.git | ||
|
||
[testenv:py27-twtrunk] | ||
basepython = python2.7 | ||
deps = {[testenv:py26-twtrunk]deps} | ||
|
||
[testenv:pypy-twtrunk] | ||
basepython = pypy | ||
deps = {[testenv:py26-twtrunk]deps} | ||
|
||
########################### | ||
# Uses Twisted 14.0 | ||
########################### | ||
|
||
[testenv:py26-tw140] | ||
basepython = python2.6 | ||
deps = | ||
{[testenv]deps} | ||
Twisted==14.0 | ||
|
||
[testenv:py27-tw140] | ||
basepython = python2.7 | ||
deps = {[testenv:py26-tw140]deps} | ||
|
||
[testenv:pypy-tw140] | ||
basepython = pypy | ||
deps = {[testenv:py26-tw140]deps} | ||
|
||
########################### | ||
# Uses Twisted 13.2 | ||
########################### | ||
|
||
[testenv:py26-tw132] | ||
basepython = python2.6 | ||
deps = | ||
{[testenv]deps} | ||
Twisted==13.2 | ||
|
||
[testenv:py27-tw132] | ||
basepython = python2.7 | ||
deps = {[testenv:py26-tw132]deps} | ||
|
||
[testenv:pypy-tw132] | ||
basepython = pypy | ||
deps = {[testenv:py26-tw132]deps} | ||
|
||
########################### | ||
# Uses Twisted 13.1 | ||
########################### | ||
|
||
[testenv:py26-tw131] | ||
basepython = python2.6 | ||
deps = | ||
{[testenv]deps} | ||
Twisted==13.1 | ||
|
||
[testenv:py27-tw131] | ||
basepython = python2.7 | ||
deps = {[testenv:py26-tw131]deps} | ||
|
||
[testenv:pypy-tw131] | ||
basepython = pypy | ||
deps = {[testenv:py26-tw131]deps} | ||
|
||
########################### | ||
# Uses Twisted 13.0 | ||
########################### | ||
|
||
[testenv:py26-tw130] | ||
basepython = python2.6 | ||
deps = | ||
{[testenv]deps} | ||
Twisted==13.0 | ||
|
||
[testenv:py27-tw130] | ||
basepython = python2.7 | ||
deps = {[testenv:py26-tw130]deps} | ||
|
||
[testenv:pypy-tw130] | ||
basepython = pypy | ||
deps = {[testenv:py26-tw130]deps} | ||
|
||
########################### | ||
# Uses Twisted 12.3 | ||
########################### | ||
|
||
[testenv:py26-tw123] | ||
basepython = python2.6 | ||
deps = | ||
{[testenv]deps} | ||
Twisted==12.3 | ||
|
||
[testenv:py27-tw123] | ||
basepython = python2.7 | ||
deps = {[testenv:py26-tw123]deps} | ||
|
||
[testenv:pypy-tw123] | ||
basepython = pypy | ||
deps = {[testenv:py26-tw123]deps} | ||
|
||
########################### | ||
# Uses Twisted 12.2 | ||
########################### | ||
|
||
[testenv:py26-tw122] | ||
basepython = python2.6 | ||
deps = | ||
{[testenv]deps} | ||
Twisted==12.2 | ||
|
||
[testenv:py27-tw122] | ||
basepython = python2.7 | ||
deps = {[testenv:py26-tw122]deps} | ||
|
||
[testenv:pypy-tw122] | ||
basepython = pypy | ||
deps = {[testenv:py26-tw122]deps} | ||
|
||
########################### | ||
# Uses Twisted 12.1 | ||
########################### | ||
|
||
[testenv:py26-tw121] | ||
basepython = python2.6 | ||
deps = | ||
{[testenv]deps} | ||
Twisted==12.1 | ||
|
||
[testenv:py27-tw121] | ||
basepython = python2.7 | ||
deps = {[testenv:py26-tw121]deps} | ||
|
||
[testenv:pypy-tw121] | ||
basepython = pypy | ||
deps = {[testenv:py26-tw121]deps} | ||
|
||
########################### | ||
# Run pyflakes | ||
########################### | ||
|
||
[testenv:pyflakes] | ||
deps = pyflakes | ||
commands = pyflakes ldaptor | ||
|
||
########################### | ||
# Default testenv | ||
########################### | ||
|
||
[testenv] | ||
deps = | ||
pyopenssl | ||
pyparsing | ||
pycrypto | ||
commands = | ||
{envpython} --version | ||
trial --version | ||
trial ldaptor |