diff --git a/.travis.yml b/.travis.yml index 8327ded..4e24184 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,5 +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 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/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tox.ini b/tox.ini index 220cc7e..aa13288 100644 --- a/tox.ini +++ b/tox.ini @@ -5,4 +5,5 @@ envlist = py27,py36 deps = py27: apache-beam==2.5.0 py27,py36: -rrequirements_dev.txt -commands = pytest +commands = pytest -v --cov=zappy tests +passenv = TRAVIS TRAVIS_*