From 3bdeee372ee30df400f752283cb94bcde18ec3bb Mon Sep 17 00:00:00 2001 From: Tom White Date: Fri, 9 Nov 2018 09:47:48 +0000 Subject: [PATCH 1/7] Coveralls --- .travis.yml | 2 ++ README.md | 1 + requirements_dev.txt | 2 ++ tox.ini | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8327ded..3c1444b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,3 +5,5 @@ python: - "3.6" install: pip install tox-travis script: tox +after_success: + - coveralls diff --git a/README.md b/README.md index 7af5a42..33688a4 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ Zappy is for distributed processing of chunked NumPy arrays on engines like [Pywren], Apache Spark, and Apache Beam. [![Build Status](https://travis-ci.org/lasersonlab/zappy.svg?branch=master)](https://travis-ci.org/lasersonlab/zappy) +[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) The `zappy.base` module defines a `ZappyArray` class that exposes the same interface as `numpy.ndarray`, and which is backed by distributed storage and processing. The array is broken into chunks, and is typically loaded from [Zarr], diff --git a/requirements_dev.txt b/requirements_dev.txt index 36fb2da..a9a417c 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,6 +1,8 @@ +coveralls future numpy pyspark pytest +pytest-cov tox zarr diff --git a/tox.ini b/tox.ini index 220cc7e..1f405a3 100644 --- a/tox.ini +++ b/tox.ini @@ -5,4 +5,4 @@ envlist = py27,py36 deps = py27: apache-beam==2.5.0 py27,py36: -rrequirements_dev.txt -commands = pytest +commands = pytest --cov=zappy From 9136bdf46200e9673c119aaba83cdd30fb4a419a Mon Sep 17 00:00:00 2001 From: Tom White Date: Thu, 29 Nov 2018 17:12:00 +0000 Subject: [PATCH 2/7] Coveralls not found --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3c1444b..4e24184 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ language: python python: - "2.7" - "3.6" -install: pip install tox-travis +install: pip install tox-travis coveralls script: tox after_success: - coveralls From 9babbdf1ba2480b5f7ccc8bd20568b846d7bc4b8 Mon Sep 17 00:00:00 2001 From: Tom White Date: Fri, 30 Nov 2018 11:41:34 +0000 Subject: [PATCH 3/7] Pass Travis env variables --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 1f405a3..347986a 100644 --- a/tox.ini +++ b/tox.ini @@ -6,3 +6,4 @@ deps = py27: apache-beam==2.5.0 py27,py36: -rrequirements_dev.txt commands = pytest --cov=zappy +passenv = TRAVIS TRAVIS_* From f3170d489c86b24295ecd584a537e1b690bdc92f Mon Sep 17 00:00:00 2001 From: Tom White Date: Thu, 6 Dec 2018 12:57:31 +0000 Subject: [PATCH 4/7] Try something else --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 347986a..673b7df 100644 --- a/tox.ini +++ b/tox.ini @@ -2,6 +2,7 @@ envlist = py27,py36 [testenv] +usedevelop = true deps = py27: apache-beam==2.5.0 py27,py36: -rrequirements_dev.txt From 8d8fa172d16c0383dafa1003428bcd06953c8c2e Mon Sep 17 00:00:00 2001 From: Tom White Date: Thu, 6 Dec 2018 13:28:25 +0000 Subject: [PATCH 5/7] f --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 673b7df..839648c 100644 --- a/tox.ini +++ b/tox.ini @@ -2,9 +2,8 @@ envlist = py27,py36 [testenv] -usedevelop = true deps = py27: apache-beam==2.5.0 py27,py36: -rrequirements_dev.txt -commands = pytest --cov=zappy +commands = pytest -v --cov=zappy zappy passenv = TRAVIS TRAVIS_* From bdb2f66e2f02304ec7438a53f456bfc720b35e2c Mon Sep 17 00:00:00 2001 From: Tom White Date: Thu, 6 Dec 2018 13:33:31 +0000 Subject: [PATCH 6/7] f --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 839648c..aa13288 100644 --- a/tox.ini +++ b/tox.ini @@ -5,5 +5,5 @@ envlist = py27,py36 deps = py27: apache-beam==2.5.0 py27,py36: -rrequirements_dev.txt -commands = pytest -v --cov=zappy zappy +commands = pytest -v --cov=zappy tests passenv = TRAVIS TRAVIS_* From d555c2e354ee0da49eaa7957a985dcfa1101c6e5 Mon Sep 17 00:00:00 2001 From: Tom White Date: Thu, 6 Dec 2018 13:39:36 +0000 Subject: [PATCH 7/7] f --- tests/__init__.py | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/__init__.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29