Skip to content

Commit

Permalink
Merge 6c0bced into 620bdef
Browse files Browse the repository at this point in the history
  • Loading branch information
sontek committed Feb 4, 2015
2 parents 620bdef + 6c0bced commit d13687a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 19 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@ env:
- TOXENV=py34
- TOXENV=pypy
- TOXENV=pypy3
- TOXENV=cover

install:
- travis_retry pip install tox
- travis_retry pip install tox coveralls

script:
- travis_retry tox

notifications:
email:
- pyramid-checkins@lists.repoze.org

after_success:
- coveralls
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Pyramid
:target: http://docs.pylonsproject.org/projects/pyramid/en/master/
:alt: Documentation Status

.. image:: https://coveralls.io/repos/sontek/pyramid/badge.svg
:target: https://coveralls.io/r/sontek/pyramid

Pyramid is a small, fast, down-to-earth, open source Python web framework.
It makes real-world web application development and
deployment more fun, more predictable, and more productive.
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ where=pyramid
nocapture=1
cover-package=pyramid
cover-erase=1
cover-min-percentage=100
#cover-min-percentage=100

[aliases]
dev = develop easy_install pyramid[testing]
Expand Down
21 changes: 5 additions & 16 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
[tox]
envlist =
py26,py27,py32,py33,py34,pypy,pypy3,cover
envlist =
py26,py27,py32,py33,py34,pypy,pypy3

[testenv]
commands =
python setup.py -q dev
python setup.py -q test -q

[testenv:cover]
basepython =
python2.6
commands =
python setup.py -q dev
nosetests --with-xunit --with-xcoverage
deps =
nosexcover

# we separate coverage into its own testenv because a) "last run wins" wrt
# cobertura jenkins reporting and b) pypy and jython can't handle any
# combination of versions of coverage and nosexcover that i can find.

commands =
python setup.py -q dev
nosetests --with-xunit --with-xcoverage

0 comments on commit d13687a

Please sign in to comment.