• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

m-lab / mlab-ns / 584
64%

Build:
DEFAULT BRANCH: master
Ran 14 May 2018 07:54PM UTC
Jobs 1
Files 21
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
584

push

travis-ci

web-flow
Use MaxMind GeoLite2 databases instead of the deprecated "legacy" ones. (#137)

* Adds support for the new MaxMind GeoLite2 database format, and removes support for the old GeoIP Legacy format.

* Removes the GeoIP2-python submodule.

* Adds the MaxMind geoip2 python module, along with any of its dependencies.

* Fetches MaxMind database from GCS, and reads it into a Reader() object when maxmind module is imported. Includes patches to MM geoip2 code for this to work.

* Removes the MaxMind GeoLite2 database file from repo, since we now fetch it from GCS at runtime.

* Wraps fetching the MaxMind database file from GCS in a try/except block.

* Adds a new class in update.py to update the MaxMind DB, plus a few other enhancements.

* Removes argument to get_geo_reader(), since it no longer requires one.

* Removes the argument to get_geo_reader() in update.py, since the argument is no longer needed.

* Adds a logging statement displaying the creation time of the MaxMind database file in GCS.

* Removes including third_party/google_cloudstorage, since that code is natice to GAE and was only necessary for local testing.

* Improves handling of the GCS Maxmind database fetching in maxmind.py.

* With these changes, build works

Specifically,
`PYTHONPATH=~/google-cloud-sdk/platform/google_appengine/ ./build`
works.

* Removes the unit test for a valid address in the Maxmind database, and adds a note on why.

* Bumps instance class to F4_1G, and uses abspath for vendor.add() in appengine_config.py.

* Fixes path to geoip2 code in maxmind.py.

* Adds a few missing modules to test_requirements.txt.

* Changes PIL requirement to pillow, which is apparently more current... and importantly maybe can installed in Travis-CI environment.

* Removes some whitespace that yapf was complaining about causing build to fail.

* Fixes a number of innocuous things that pyflakes was complaining about, causing builds to fail.

* Fixes two more small innocuous things that pyflak... (continued)

887 of 1453 relevant lines covered (61.05%)

0.61 hits per line

Jobs
ID Job ID Ran Files Coverage
1 584.1 (PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine) 14 May 2018 07:54PM UTC 0
61.05
Travis Job 584.1
Source Files on build 584
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #584
  • d7d64819 on github
  • Prev Build on master (#582)
  • Next Build on master (#585)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc