You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2017/09/11 07:48:37 UTC
[1/6] libcloud git commit: Enable coverage reports on codecov.
Repository: libcloud
Updated Branches:
refs/heads/trunk 099b2289d -> eae60769f
Enable coverage reports on codecov.
Closes #1109
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/041cdae3
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/041cdae3
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/041cdae3
Branch: refs/heads/trunk
Commit: 041cdae30df68302e7bb6027278ed312ac3f38bf
Parents: 099b228
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Sun Sep 10 22:36:05 2017 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Mon Sep 11 09:48:22 2017 +0200
----------------------------------------------------------------------
.codecov.yaml | 18 ++++++++++++++++++
requirements-tests.txt | 3 ++-
tox.ini | 2 ++
3 files changed, 22 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/041cdae3/.codecov.yaml
----------------------------------------------------------------------
diff --git a/.codecov.yaml b/.codecov.yaml
new file mode 100644
index 0000000..5725cf1
--- /dev/null
+++ b/.codecov.yaml
@@ -0,0 +1,18 @@
+codecov:
+ #notify:
+ #require_ci_to_pass: yes
+
+coverage:
+ precision: 2 # decimal places to display: 0 <= value <= 4
+ round: nearest
+ range: 50...90 # custom range of coverage colors from red -> yellow -> green
+
+ status:
+ project:
+ default:
+ threshold: 2%
+ patch: yes
+ changes: no
+
+# comments are useless, considering wrong coverage reports
+comment: no
http://git-wip-us.apache.org/repos/asf/libcloud/blob/041cdae3/requirements-tests.txt
----------------------------------------------------------------------
diff --git a/requirements-tests.txt b/requirements-tests.txt
index a92d325..4fdca78 100644
--- a/requirements-tests.txt
+++ b/requirements-tests.txt
@@ -3,8 +3,9 @@ flake8>=2.5.1,<2.6
astroid>=1.4.5,<1.5
pylint>=1.5.5,<1.6
mock>=1.0.1,<1.1
+codecov
coveralls
coverage<4.0
requests
requests_mock
-pytest
\ No newline at end of file
+pytest
http://git-wip-us.apache.org/repos/asf/libcloud/blob/041cdae3/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 1c3d27f..dbeeeb6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -93,6 +93,7 @@ deps = -r{toxinidir}/integration/requirements.txt
commands = python -m integration
[testenv:coverage]
+passenv = TOXENV CI TRAVIS TRAVIS_*
deps =
-r{toxinidir}/requirements-tests.txt
set-env =
@@ -100,3 +101,4 @@ set-env =
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
coverage run --source=libcloud setup.py test
coveralls
+ codecov
[5/6] libcloud git commit: Remove coveralls step.
Posted by to...@apache.org.
Remove coveralls step.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/63e4bb5b
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/63e4bb5b
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/63e4bb5b
Branch: refs/heads/trunk
Commit: 63e4bb5b303a09700a0cbb278895547e4963ab28
Parents: 645621f
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Sun Sep 10 23:00:26 2017 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Mon Sep 11 09:48:29 2017 +0200
----------------------------------------------------------------------
tox.ini | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/63e4bb5b/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index dbeeeb6..a8fe222 100644
--- a/tox.ini
+++ b/tox.ini
@@ -97,8 +97,6 @@ passenv = TOXENV CI TRAVIS TRAVIS_*
deps =
-r{toxinidir}/requirements-tests.txt
set-env =
- COVERALLS_REPO_TOKEN = GAB5ZuovdsVEFxSIyZE8YhDYU886iGW54
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
coverage run --source=libcloud setup.py test
- coveralls
codecov
[6/6] libcloud git commit: Post a single code comment which is
updated.
Posted by to...@apache.org.
Post a single code comment which is updated.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/f2796718
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/f2796718
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/f2796718
Branch: refs/heads/trunk
Commit: f27967181dbadd4ac8674b95c7a6e5d817e29605
Parents: 69c7ff8
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Sun Sep 10 22:59:50 2017 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Mon Sep 11 09:48:29 2017 +0200
----------------------------------------------------------------------
.codecov.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/f2796718/.codecov.yml
----------------------------------------------------------------------
diff --git a/.codecov.yml b/.codecov.yml
index 5725cf1..925a7a7 100644
--- a/.codecov.yml
+++ b/.codecov.yml
@@ -14,5 +14,10 @@ coverage:
patch: yes
changes: no
-# comments are useless, considering wrong coverage reports
-comment: no
+comment:
+ layout: "header, diff, tree"
+ behavior: default
+ require_changes: false # if true: only post the comment if coverage changes
+ branches: null
+ flags: null
+ paths: null
[3/6] libcloud git commit: Update .gitignore.
Posted by to...@apache.org.
Update .gitignore.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/645621fa
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/645621fa
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/645621fa
Branch: refs/heads/trunk
Commit: 645621fa0988ea6b019de70c99e13d13344f1b24
Parents: f279671
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Sun Sep 10 23:00:18 2017 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Mon Sep 11 09:48:29 2017 +0200
----------------------------------------------------------------------
.gitignore | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/645621fa/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 36902da..7637b9a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@ MANIFEST
/.ropeproject/config.py
/.coverage
coverage_html_report/
+coverage.xml
.idea
dist/*apache-libcloud*
dist/*apache_libcloud*
[4/6] libcloud git commit: Fix file name.
Posted by to...@apache.org.
Fix file name.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/69c7ff80
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/69c7ff80
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/69c7ff80
Branch: refs/heads/trunk
Commit: 69c7ff801bcfa69ea93428132b6385fb869368d9
Parents: 041cdae
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Sun Sep 10 22:52:42 2017 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Mon Sep 11 09:48:29 2017 +0200
----------------------------------------------------------------------
.codecov.yaml | 18 ------------------
.codecov.yml | 18 ++++++++++++++++++
2 files changed, 18 insertions(+), 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/69c7ff80/.codecov.yaml
----------------------------------------------------------------------
diff --git a/.codecov.yaml b/.codecov.yaml
deleted file mode 100644
index 5725cf1..0000000
--- a/.codecov.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-codecov:
- #notify:
- #require_ci_to_pass: yes
-
-coverage:
- precision: 2 # decimal places to display: 0 <= value <= 4
- round: nearest
- range: 50...90 # custom range of coverage colors from red -> yellow -> green
-
- status:
- project:
- default:
- threshold: 2%
- patch: yes
- changes: no
-
-# comments are useless, considering wrong coverage reports
-comment: no
http://git-wip-us.apache.org/repos/asf/libcloud/blob/69c7ff80/.codecov.yml
----------------------------------------------------------------------
diff --git a/.codecov.yml b/.codecov.yml
new file mode 100644
index 0000000..5725cf1
--- /dev/null
+++ b/.codecov.yml
@@ -0,0 +1,18 @@
+codecov:
+ #notify:
+ #require_ci_to_pass: yes
+
+coverage:
+ precision: 2 # decimal places to display: 0 <= value <= 4
+ round: nearest
+ range: 50...90 # custom range of coverage colors from red -> yellow -> green
+
+ status:
+ project:
+ default:
+ threshold: 2%
+ patch: yes
+ changes: no
+
+# comments are useless, considering wrong coverage reports
+comment: no
[2/6] libcloud git commit: Add codecov image to readme.
Posted by to...@apache.org.
Add codecov image to readme.
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/eae60769
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/eae60769
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/eae60769
Branch: refs/heads/trunk
Commit: eae60769f29d9fffba30dee6162ff728dd10907e
Parents: 63e4bb5
Author: Tomaz Muraus <to...@tomaz.me>
Authored: Mon Sep 11 09:38:09 2017 +0200
Committer: Tomaz Muraus <to...@tomaz.me>
Committed: Mon Sep 11 09:48:29 2017 +0200
----------------------------------------------------------------------
README.rst | 4 ++--
requirements-tests.txt | 1 -
tox.ini | 2 --
3 files changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/eae60769/README.rst
----------------------------------------------------------------------
diff --git a/README.rst b/README.rst
index 6595d45..8949df2 100644
--- a/README.rst
+++ b/README.rst
@@ -28,8 +28,8 @@ Apache Libcloud - a unified interface for the cloud
.. image:: https://bestpractices.coreinfrastructure.org/projects/152/badge
:target: https://bestpractices.coreinfrastructure.org/projects/152
-.. image:: https://coveralls.io/repos/github/apache/libcloud/badge.svg?branch=trunk
- :target: https://coveralls.io/github/apache/libcloud?branch=trunk
+.. image:: https://img.shields.io/codecov/c/github/apache/libcloud/master.svg
+ :target: https://codecov.io/github/apache/libcloud?branch=trunk
Apache Libcloud is a Python library which hides differences between different
cloud provider APIs and allows you to manage different cloud resources
http://git-wip-us.apache.org/repos/asf/libcloud/blob/eae60769/requirements-tests.txt
----------------------------------------------------------------------
diff --git a/requirements-tests.txt b/requirements-tests.txt
index 4fdca78..b118ffd 100644
--- a/requirements-tests.txt
+++ b/requirements-tests.txt
@@ -4,7 +4,6 @@ astroid>=1.4.5,<1.5
pylint>=1.5.5,<1.6
mock>=1.0.1,<1.1
codecov
-coveralls
coverage<4.0
requests
requests_mock
http://git-wip-us.apache.org/repos/asf/libcloud/blob/eae60769/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index a8fe222..f33912e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -8,8 +8,6 @@ deps =
lockfile
py{2.6,2.7}: paramiko
py{2.6}: unittest2
-set-env =
- COVERALLS_REPO_TOKEN = GAB5ZuovdsVEFxSIyZE8YhDYU886iGW54
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
python setup.py test
basepython =