This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via 56bcb03d7c0b8b8c5e1d010913cf24d8d4aa153b (commit)
via 0fbf8949b3a56e87582d7f08f592809d6fdba62b (commit)
via b4c5f02b368d8a3a570f2edf6150d0da4c7e503b (commit)
via 4f62b3980d04c08ce4c9f058b1a89d44f2c85442 (commit)
via c442ad93897d7515b5d40b77af22212248b7e1c9 (commit)
from e860578692889bdb61af6734fd7e156026379588 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/56bcb03d7c0b8b8c5e1d010913cf24d8d4aa153b
commit 56bcb03d7c0b8b8c5e1d010913cf24d8d4aa153b
Author: Oleg Broytman <ph...@ph...>
Date: Sat Aug 6 22:20:05 2016 +0300
DevGuide update: we use coverage.py, Coveralls and Codecov
[skip ci]
diff --git a/docs/DeveloperGuide.txt b/docs/DeveloperGuide.txt
index 8e9a020..a845271 100644
--- a/docs/DeveloperGuide.txt
+++ b/docs/DeveloperGuide.txt
@@ -268,6 +268,11 @@ To avoid triggering unnecessary test run at Travis add text
anywhere in your commit messages for commits that don't change code
(documentation updates and such).
+We use `coverage.py <https://pypi.python.org/pypi/coverage>`_
+to measures code coverage by tests and upload the result for analyzis to
+`Coveralls <https://coveralls.io/github/sqlobject/sqlobject>`_ and
+`Codecov <https://codecov.io/gh/sqlobject/sqlobject>`_.
+
Documentation
=============
http://sourceforge.net/p/sqlobject/sqlobject/ci/0fbf8949b3a56e87582d7f08f592809d6fdba62b
commit 0fbf8949b3a56e87582d7f08f592809d6fdba62b
Author: Oleg Broytman <ph...@ph...>
Date: Sat Aug 6 22:16:30 2016 +0300
[skip ci] or [ci skip]
diff --git a/docs/DeveloperGuide.txt b/docs/DeveloperGuide.txt
index f2fd864..8e9a020 100644
--- a/docs/DeveloperGuide.txt
+++ b/docs/DeveloperGuide.txt
@@ -262,7 +262,8 @@ We now use Travis CI to run tests. See the status:
.. image:: https://travis-ci.org/sqlobject/sqlobject.svg?branch=master
:target: https://travis-ci.org/sqlobject/sqlobject
-To avoid triggering unnecessary test run at Travis add text `[ci skip]
+To avoid triggering unnecessary test run at Travis add text
+`[skip ci] or [ci skip]
<https://docs.travis-ci.com/user/customizing-the-build/#skipping-a-build>`_
anywhere in your commit messages for commits that don't change code
(documentation updates and such).
http://sourceforge.net/p/sqlobject/sqlobject/ci/b4c5f02b368d8a3a570f2edf6150d0da4c7e503b
commit b4c5f02b368d8a3a570f2edf6150d0da4c7e503b
Author: Oleg Broytman <ph...@ph...>
Date: Sat Aug 6 21:30:03 2016 +0300
Report test coverage via codecov.io
diff --git a/.travis.yml b/.travis.yml
index daa85d7..42c10af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,7 +16,7 @@ env:
- TOXENV=py27-flake8
- TOXENV=py34-flake8
-install: pip install tox coveralls
+install: pip install tox coveralls codecov
matrix:
fast_finish: true
@@ -26,3 +26,4 @@ script: tox -e ${TOXENV}
after_success:
- cd sqlobject
- coveralls
+ - codecov
diff --git a/docs/News.txt b/docs/News.txt
index b30bfbf..f5d3a99 100644
--- a/docs/News.txt
+++ b/docs/News.txt
@@ -39,7 +39,7 @@ Tests
-----
* Use pytest-cov for test coverage. Report test coverage
- via coveralls.io.
+ via coveralls.io and codecov.io.
SQLObject 3.0.0
===============
http://sourceforge.net/p/sqlobject/sqlobject/ci/4f62b3980d04c08ce4c9f058b1a89d44f2c85442
commit 4f62b3980d04c08ce4c9f058b1a89d44f2c85442
Author: Oleg Broytman <ph...@ph...>
Date: Sat Aug 6 21:15:23 2016 +0300
Report test coverage via coveralls.io
diff --git a/.travis.yml b/.travis.yml
index b8fd838..daa85d7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,9 +16,13 @@ env:
- TOXENV=py27-flake8
- TOXENV=py34-flake8
-install: pip install tox
+install: pip install tox coveralls
matrix:
fast_finish: true
script: tox -e ${TOXENV}
+
+after_success:
+ - cd sqlobject
+ - coveralls
diff --git a/docs/News.txt b/docs/News.txt
index 7658ea2..b30bfbf 100644
--- a/docs/News.txt
+++ b/docs/News.txt
@@ -38,7 +38,8 @@ Source code
Tests
-----
-* Use pytest-cov for test coverage.
+* Use pytest-cov for test coverage. Report test coverage
+ via coveralls.io.
SQLObject 3.0.0
===============
http://sourceforge.net/p/sqlobject/sqlobject/ci/c442ad93897d7515b5d40b77af22212248b7e1c9
commit c442ad93897d7515b5d40b77af22212248b7e1c9
Author: Oleg Broytman <ph...@ph...>
Date: Sat Aug 6 21:05:43 2016 +0300
Use pytest-cov for test coverage
diff --git a/docs/News.txt b/docs/News.txt
index c2439c3..7658ea2 100644
--- a/docs/News.txt
+++ b/docs/News.txt
@@ -22,11 +22,6 @@ Features
* Add JSONCol, a universal json column.
-Source code
------------
-
-* Fix all `import *` using https://github.com/zestyping/star-destroyer.
-
Documentation
-------------
@@ -35,6 +30,16 @@ Documentation
* Fix URLs that can be found; remove missing links.
+Source code
+-----------
+
+* Fix all `import *` using https://github.com/zestyping/star-destroyer.
+
+Tests
+-----
+
+* Use pytest-cov for test coverage.
+
SQLObject 3.0.0
===============
diff --git a/sqlobject/.gitignore b/sqlobject/.gitignore
new file mode 100644
index 0000000..b53725c
--- /dev/null
+++ b/sqlobject/.gitignore
@@ -0,0 +1,2 @@
+/.coverage
+/coverage.xml
diff --git a/tox.ini b/tox.ini
index 4497785..ce9db44 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,62 +16,63 @@ basepython =
py34: python3.4
deps =
pytest
+ pytest-cov
FormEncode >= 1.1.1
PyDispatcher>=2.0.4
mysql: mysql-python
mysqlclient: mysqlclient
postgres: psycopg2
-
+passenv = CI TRAVIS TRAVIS_*
# MySQL test environments
[testenv:py26-mysql]
commands =
mysql -e 'create database sqlobject_test;'
- py.test -D mysql://root:@localhost/sqlobject_test
+ py.test --cov=sqlobject -D mysql://root:@localhost/sqlobject_test
mysql -e 'drop database sqlobject_test;'
[testenv:py27-mysql]
commands =
mysql -e 'create database sqlobject_test;'
- py.test -D mysql://root:@localhost/sqlobject_test
+ py.test --cov=sqlobject -D mysql://root:@localhost/sqlobject_test
mysql -e 'drop database sqlobject_test;'
# PostgreSQL test environments
[testenv:py26-postgres]
commands =
psql -c 'create database sqlobject_test;' -U postgres
- py.test -D postgres://postgres:@localhost/sqlobject_test
+ py.test --cov=sqlobject -D postgres://postgres:@localhost/sqlobject_test
psql -c 'drop database sqlobject_test;' -U postgres
[testenv:py27-postgres]
commands =
psql -c 'create database sqlobject_test;' -U postgres
- py.test -D postgres://postgres:@localhost/sqlobject_test
+ py.test --cov=sqlobject -D postgres://postgres:@localhost/sqlobject_test
psql -c 'drop database sqlobject_test;' -U postgres
# sqlite test environments
[testenv:py26-sqlite]
commands =
- py.test -D sqlite:///tmp/sqlobject_test.sqdb
+ py.test --cov=sqlobject -D sqlite:///tmp/sqlobject_test.sqdb
[testenv:py27-sqlite]
commands =
- py.test -D sqlite:///tmp/sqlobject_test.sqdb
+ py.test --cov=sqlobject -D sqlite:///tmp/sqlobject_test.sqdb
[testenv:py34-sqlite]
commands =
- py.test -D sqlite:///tmp/sqlobject_test.sqdb
+ py.test --cov=sqlobject -D sqlite:///tmp/sqlobject_test.sqdb
[testenv:py34-postgres]
commands =
psql -c 'create database sqlobject_test;' -U postgres
- py.test -D postgres://postgres:@localhost/sqlobject_test
+ py.test --cov=sqlobject -D postgres://postgres:@localhost/sqlobject_test
psql -c 'drop database sqlobject_test;' -U postgres
[testenv:py34-mysqlclient]
commands =
mysql -e 'create database sqlobject_test;'
- py.test -D mysql://root:@localhost/sqlobject_test?charset=utf8
+ py.test --cov=sqlobject -D mysql://root:@localhost/sqlobject_test?charset=utf8
mysql -e 'drop database sqlobject_test;'
[testenv:py27-flake8]
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 7 ++++++-
docs/DeveloperGuide.txt | 8 +++++++-
docs/News.txt | 16 +++++++++++-----
sqlobject/.gitignore | 2 ++
tox.ini | 21 +++++++++++----------
5 files changed, 37 insertions(+), 17 deletions(-)
create mode 100644 sqlobject/.gitignore
hooks/post-receive
--
SQLObject development repository
|