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

m-lab / mlab-ns / 584 / 1
64%
master: 64%

Build:
DEFAULT BRANCH: master
Ran 14 May 2018 07:54PM UTC
Files 21
Run time 1s
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

14 May 2018 07:50PM UTC coverage: 61.046% (-0.4%) from 61.447%
PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine

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

Source Files on job 584.1 (PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine)
  • Tree
  • List 0
  • Changed 4
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 332
  • Travis Job 584.1
  • d7d64819 on github
  • Prev Job for PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine on master (#582.1)
  • Next Job for PYTHONPATH=$PYTHONPATH:$HOME/google-cloud-sdk/platform/google_appengine on master (#585.1)
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