From 9a9d1d738d08d24aad37c9fe6edbed724bc1c42d Mon Sep 17 00:00:00 2001 From: jajupmochi Date: Tue, 28 Jan 2020 14:26:50 +0100 Subject: [PATCH] add Codecov. --- .travis.yml | 10 +++++++++- tests/tests_tools.py | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 tests/tests_tools.py diff --git a/.travis.yml b/.travis.yml index 11488cb..7c6e14e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,15 @@ language: python python: - '3.6.5' +before_install: +- pip install codecov +- pip install coverage + install: - pip install -r requirements.txt + script: -- python notebooks/run_spkernel.py +- coverage run tests/tests_tools.py + +after_success: +- codecov diff --git a/tests/tests_tools.py b/tests/tests_tools.py new file mode 100644 index 0000000..f358d5e --- /dev/null +++ b/tests/tests_tools.py @@ -0,0 +1 @@ +print('Hello py-graph!')