You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are eight of these errors, one for each inclusion of Locations (which I believe is intended to be a "module" in Ruby terminology).
Scope / difficulty
Looks to me like a Ruby syntax error. Anyone knowledgeable about re-using code from one file to another in Ruby should be able to fix this, at least in theory.
Impact
Allows us to keep running our CI tests, but on a new Travis CI base image (Ubuntu 16.04 "Xenial" or newer).
Might also make running tests locally work. As far as I know, the tests don't pass anywhere but Travis CI's Ubuntu 14.04 "Trusty" environment. I would love to be able to run these tests natively on my local machine, or locally in a Docker container.
The current image, Ubuntu 14.04 "Trusty," is already in its end-of-life period. It is no longer supported. Travis CI is likely to keep supporting it for a while, due to how many projects are probably still using it. In theory, though, they could decide to stop offering Trusty CI runs at any time if they wanted to.
Fixing this adds certainty that we can keep testing on Travis CI.
Proposal
Change the code for our tests to make them pass everywhere, not just in this older Travis CI test environment.
How to actually do this:
Probably research the proper way to include modules, and edit the Ruby code in the spec/ directory of this project.
The text was updated successfully, but these errors were encountered:
I'm looking into this. Going to make a pull request to run tests with Travis, because for some reason that error doesn't pop up in Docker on my machine.
Edit:
Never mind it's failing on my machine as well.
Problem
Tests are failing anywhere but Travis CI's old Ubuntu 14.04 "Trusty" base image.
See this recent test run for an example: https://travis-ci.com/RefugeRestrooms/refugerestrooms/builds/130835299#L956-L981
Full error (click, or give keyboard focus and press enter, to expand)
There are eight of these errors, one for each inclusion of
Locations
(which I believe is intended to be a "module" in Ruby terminology).Scope / difficulty
Looks to me like a Ruby syntax error. Anyone knowledgeable about re-using code from one file to another in Ruby should be able to fix this, at least in theory.
Impact
Allows us to keep running our CI tests, but on a new Travis CI base image (Ubuntu 16.04 "Xenial" or newer).
Might also make running tests locally work. As far as I know, the tests don't pass anywhere but Travis CI's Ubuntu 14.04 "Trusty" environment. I would love to be able to run these tests natively on my local machine, or locally in a Docker container.
The current image, Ubuntu 14.04 "Trusty," is already in its end-of-life period. It is no longer supported. Travis CI is likely to keep supporting it for a while, due to how many projects are probably still using it. In theory, though, they could decide to stop offering Trusty CI runs at any time if they wanted to.
Fixing this adds certainty that we can keep testing on Travis CI.
Proposal
Change the code for our tests to make them pass everywhere, not just in this older Travis CI test environment.
How to actually do this:
Probably research the proper way to include modules, and edit the Ruby code in the
spec/
directory of this project.The text was updated successfully, but these errors were encountered: