Skip to content

Commit

Permalink
Run tests with DEBUG logging level in Travis
Browse files Browse the repository at this point in the history
This way we can catch more information about errors in the future.

Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Jul 3, 2020
1 parent ca08d9d commit 22ab06b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ install:
# run the tests, making sure subprocesses generate coverage information
script:
- COVFILES=
- test -n "$NO_DLG_TRANSLATOR" || { (cd daliuge-translator && py.test --cov) && COVFILES+=" daliuge-translator/.coverage"; }
- test -n "$NO_DLG_RUNTIME" || { (cd daliuge-runtime && py.test --cov) && COVFILES+=" daliuge-runtime/.coverage"; }
- test -n "$NO_DLG_TRANSLATOR" || { (cd daliuge-translator && py.test --cov --log-level=DEBUG) && COVFILES+=" daliuge-translator/.coverage"; }
- test -n "$NO_DLG_RUNTIME" || { (cd daliuge-runtime && py.test --cov --log-level=DEBUG) && COVFILES+=" daliuge-runtime/.coverage"; }
- coverage combine $COVFILES
- test -z "$TEST_OPENAPI" || (cd OpenAPI/tests && ./test_managers_openapi.sh)

Expand Down

0 comments on commit 22ab06b

Please sign in to comment.