Build improvements #265

Merged
merged 1 commit into from Jan 13, 2016

Projects

None yet

2 participants

@thedrow
Contributor
thedrow commented Jul 27, 2015

Added PyPy3 to the build, moved to container based infrastructure and enabled pip caching.

@thedrow thedrow Added PyPy3 to the build, moved to container based infrastructure and…
… enabled pip caching.
7602291
@thedrow
Contributor
thedrow commented Jul 27, 2015

Can you explain why the build fails so I can fix it?
Is it because PyPy3 is an implementation of Python 3.2?

@bitprophet
Member

Thanks for this! The issue must be that our (travis.yml) test to skip doc-builds on 3.2 (Sphinx doesn't support it) isn't correctly triggering on PyPy3, I bet TRAVIS_PYTHON_VERSION isn't being set to "3.2" in that case (guessing "PYPY" is in there somewhere, or...something?)

Compare https://travis-ci.org/pyinvoke/invoke/jobs/72795107#L5996 to https://travis-ci.org/pyinvoke/invoke/jobs/72795111#L1027 - "real" Python 3.2 correctly skips the docs build step, but PyPy3 does not.

I don't see the build output stating what that value is, you'll want to make some test commits adding things like - echo TRAVIS_PYTHON_VERSION: '$TRAVIS_PYTHON_VERSION' or whatnot, so we can see what the value is.

@bitprophet bitprophet added the Support label Jul 30, 2015
@bitprophet bitprophet added this to the 0.11 milestone Jul 30, 2015
@bitprophet bitprophet merged commit 7602291 into pyinvoke:master Jan 13, 2016

1 of 2 checks passed

continuous-integration/appveyor AppVeyor build failed
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@bitprophet bitprophet added a commit that referenced this pull request Jan 13, 2016
@bitprophet bitprophet Changelog re #265 228e610
@bitprophet
Member

FTR we nixed 3.2 recently so that should be moot now. I merged and we'll see if Travis likes the sum total of the changes soon...

@bitprophet
Member

OK, as semi-expected, PyPy3 fails because of Sphinx wanting Python 3.2+, but passes everything else: https://travis-ci.org/pyinvoke/invoke/jobs/102019458

@thedrow thedrow deleted the thedrow:patch-1 branch Jan 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment