tilezen / mapbox-vector-tile

Python package for encoding & decoding Mapbox Vector Tiles
MIT License
245 stars 47 forks source link

Travis intergration #38

Closed loicgasser closed 8 years ago

loicgasser commented 8 years ago

Hi!

I just prepared a small PR to integrate travis and coverage in you project.

https://github.com/loicgasser/mapbox-vector-tile (for an example)

You simply need to activate the project in (free for open-source projects) https://travis-ci.org/mapzen/mapbox-vector-tile (Travis) https://coveralls.io/github/mapzen/mapbox-vector-tile?branch=master (Coveralls)

This will ensure that: 1) Coverage won't decrease over time (current coverage at 84%) 2) Python 2.6, 2.7 and 3.5 are always tested 3) Every pull request triggers a build (like now with circle)

Let me know if you guys enjoy it.

loicgasser commented 8 years ago

Tests actually fail with python 2.6, I'll try to fix.

loicgasser commented 8 years ago

Ok so unittest module for python 2.6 uses different methods failUnless instead of assertInt for instance. So it cannot be tested and I removed this python version.

rmarianski commented 8 years ago

Thanks!

loicgasser commented 8 years ago

cool, I think you still need to activate travis and coverage for this project.

nvkelso commented 8 years ago

Done! Turned out we needed to push a new commit to trigger a rebuild of the badges.