Skip to content

Commit

Permalink
Testing codecov to make it work again (bigchaindb#448)
Browse files Browse the repository at this point in the history
* codecov codecov schalalalala

* testing env var

* test again

* again

* test

* test 2

* test extra docker command

* test xml

* change location of xml

* change location of file and add volume

* add coverage file

* Problem: no codecoverage
Solution: enable codecov again
  • Loading branch information
codegeschrei authored and ttmc committed Jun 18, 2018
1 parent 90777fc commit 2ebf652
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/travis_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e -x

if [[ "${TOXENV}" == "py35" || "${TOXENV}" == "py36" ]]; then
docker-compose run --rm bigchaindb-driver pytest -v
docker-compose run --rm bigchaindb-driver pytest -v --cov=bigchaindb_driver --cov-report xml:coverage.xml
else
tox -e ${TOXENV}
fi
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ htmlcov/
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

Expand Down
Empty file added coverage.xml
Empty file.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
- ./setup.py:/usr/src/app/setup.py
- ./tox.ini:/usr/src/app/tox.ini
- ./htmlcov:/usr/src/app/htmlcov
- ./coverage.xml:/usr/src/app/coverage.xml
environment:
BDB_HOST: bigchaindb
BIGCHAINDB_DATABASE_BACKEND: mongodb
Expand Down

0 comments on commit 2ebf652

Please sign in to comment.