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
@maikhoepfel, while you're fixing test runs, you may want to look into this one as well.
We're using tox-travis for this; see hastexo/django-oscar-vat_moss@bb6c8a5. Slightly different approach, but at least it ensures that Python 3.3 and Python 3.4 envs do what it says on the tin.
@fghaas The Travis environment is indeed run with Python 2.7 if no version is specified. But tox creates individual virtual environments with the given Python version. Rest assured that they're run with the specified Python version. I just double-checked with updating my tox.ini to this:
[testenv]
commands = python --version
... which outputs Python 3 for the appropriate envs.
Thank you for the link to tox-travis. I prefer the simpler, albeit more verbose syntax over adding another library to learn about. But I'm sure it's useful in more complex projects.
Case in point: https://travis-ci.org/django-oscar/django-oscar-paypal/jobs/101483297
That's a job that ostensibly runs in a Python 3.3 environment. From the build log:
That doesn't look right.
The text was updated successfully, but these errors were encountered: