-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update .travis.yml, work on gdal errors #4
Conversation
Ah, same issue here as we'd had in MapKnitter proper. |
|
OK, this happens locally too. Verbose:
|
I was able to add zoom levels to
Hmm. |
That last might be because i'm using local GDAL v1.x, so could be worth it on the Travis version. I'll try that. |
Need to re-apply solution from publiclab/mapknitter#341 |
OK! We need Dockerfile and maybe docker-compose.yml from publiclab/mapknitter@bbf1ec8 |
@jywarren this is failing differently now, GDAL is working but looks like travis is not allowing https out? |
Here's the current error:
|
I overrode the ImageMagick policy about HTTPS only to find that the feature has been removed because of a security concern. We'll need to |
Here's the commit from 2016 removing this: Oh I remember this https://imagetragick.com/ - it was a little rush to patch... |
Ah! It shouldn't (at least in tests) be calling a remote image. I changed it to be a local path, and I think we can do the |
OK, I see a lot of things like this, where we haven't properly inserted a unique ID (formerly the
|
@@ -33,6 +33,7 @@ def test_all_functions # break this into separate parts | |||
image = { | |||
height: 20, | |||
width: 20, | |||
id: 1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we needed this; we may need to refactor so it auto-adds the image ids here based on the order they're brought in, instead of relying on an external unique ID
|
|
I guess we don't have the right dependencies to use this? I think we need to add this to the Gemfile: https://ruby-doc.org/stdlib-2.4.1/libdoc/open3/rdoc/Open3.html |
Finally a few attribute accessors were missing in MockExport class and passing all tests green! |
Amazing!!! Will move to the other PR now, and then let's get this rereleased and integrated into Sinatra. Thanks!!! |
fixes #3