* Raise warnings rather than exceptions for invalid / empty shapes in rasterize
* Add test for geo interface for is_geom_valid and fix for travis builds
--no-use-pep517 flag for pip install of local environment is needed to get pip install working
* Make warning for invalid / empty geometry in rasterization more clear
=====
Tests
=====
From the root of the project, run
.. code-block::
$ python -m pytest
The tests that require Amazon S3 access will be skipped if you have no credentials. You can test using a
key like so:
.. code-block::
$ AWS_ACCESS_KEY_ID=ID AWS_SECRET_ACCESS_KEY=KEY python -m pytest
The key used for Travis is generated using the Amazon CloudFormation template at
https://github.com/mapbox/rasterio/blob/master/cloudformation/travis.template. If you had to fork
Rasterio and run your own tests, you could `use this template <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stack.html>`__ to create your own IAM user and get a new key from your stack's "Outputs" field.