Skip to content

Compare locales bug 1382622 #19

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

Merged
merged 2 commits into from
Sep 1, 2017

Conversation

Pike
Copy link
Contributor

@Pike Pike commented Sep 1, 2017

Add testing for python 2.7 with compare-locales and without. As compare-locales doesn't support py3, we don't do that for 3.6 yet.

The test failures were just in the actual test code, so this fix is low-impact.

@Pike
Copy link
Contributor Author

Pike commented Sep 1, 2017

Sadly we don't use tox in automation, need to dig into travis to actually get test coverage.

@Pike
Copy link
Contributor Author

Pike commented Sep 1, 2017

This works, https://travis-ci.org/projectfluent/python-fluent/builds/270754036?utm_source=github_status&utm_medium=notification.

It does run both 2.7 tests in one worker, but the thing that costs time here is setup anyway, so this doesn't affect wall-clock time.

I'd squash commit 1 and 3 here before landing. I think leaving commit 2 separate makes sense.

Copy link
Contributor

@stasm stasm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks @Pike!

Pike added 2 commits September 1, 2017 11:42
… r=stas

compare-locales doesn't support py3 yet, so we don't add that
environment yet.

This adds tox-travis, so that we can add dependency management in
tox, and use travis to run individual jobs per python version.
Compare-locales or not are run in the same travis job.
The get_val wasn't really intended to be an API to begin with.
Using the property .val is forwards and backwards compatible.
@Pike Pike force-pushed the compare-locales-bug-1382622 branch from bb93248 to 14bf8de Compare September 1, 2017 09:43
@stasm stasm merged commit 594f9d9 into projectfluent:master Sep 1, 2017
@Pike Pike deleted the compare-locales-bug-1382622 branch September 1, 2017 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants