-
Notifications
You must be signed in to change notification settings - Fork 223
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
for #541: run compare-locales validate on Travis #544
Conversation
I see that you're already doing the Now we just need gh to tell travis to actually do something ;-) |
Still just waiting on GitHub ... "We are working through the backlogs of webhook deliveries" |
2996609
to
084dec9
Compare
OK, this doesn't work in the node build. We'll need a matrix of python builds for compare-locales and node builds for the rest. https://stackoverflow.com/questions/27644586/how-to-set-up-travis-ci-with-multiple-languages is what I've found on the tubes. |
I think the failed build is due to some old Python 2.7 version on Travis CI. Error seems to be related to https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
I can't see anywhere in the output where it says what exact version of Python we're using, apart from vague references to "2.7":
Although https://docs.travis-ci.com/user/languages/python/#travis-ci-uses-isolated-virtualenvs seems to say that for "Trusty", this means Python 2.7.6 and 3.4.3. I haven't found a good answer on how to force Circle/Ubuntu to use the Python3 executable by default yet, apart from switching to a matrix of containers. |
Actually, the error message was this, and I think the other messages are warnings:
|
084dec9
to
113238a
Compare
@@ -6,7 +6,11 @@ services: | |||
- postgresql | |||
env: | |||
- NODE_ENV=tests | |||
install: |
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.
Interesting, now we're getting the following error:
sh: 1: npm-run-all: not found
I wonder if this is causing $ npm install (or $ npm ci) to not get called, and maybe we should rename this to "before_install:", similar to https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#using-a-specific-npm-version
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.
Yeah, just updated install
to do both pip
and npm
113238a
to
72bb13d
Compare
Yay! now with both |
4140fff
to
72bb13d
Compare
Cool, I added a commit that introduced a parse error in the So I think this is good to go! |
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 should change the l10n check to not do ls
but instead add the list of locales to l10n.ini
.
That's going to make it easier to switch things on, and infer l10n status from the configuration files.
And yes, in bug 1501220 I'm tracking to add validation to that data based on local data.
Filed new bug #553 |
No description provided.