Skip to content

Commit

Permalink
Merge pull request twisted#5 from hawkowl/set-up-travis
Browse files Browse the repository at this point in the history
Set up Travis to give ldaptor CI across Twisted 12.1 to 14.0 + Trunk
  • Loading branch information
psi29a committed Jul 7, 2014
2 parents 105ffde + ea4f2c4 commit 7562df5
Show file tree
Hide file tree
Showing 4 changed files with 231 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.pyo
/_trial_temp
/build
/.tox
/doc/addressbook-session
/doc/addressbook-slides
/doc/api
Expand Down
37 changes: 37 additions & 0 deletions .travis.yml
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
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
include MANIFEST.in
include TODO
include README.md
192 changes: 192 additions & 0 deletions tox.ini
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

0 comments on commit 7562df5

Please sign in to comment.