berkerpeksag / astor

Python AST read/write
https://pypi.org/project/astor/
BSD 3-Clause "New" or "Revised" License
810 stars 102 forks source link

run travis in containers! #15

Closed theanalyst closed 9 years ago

theanalyst commented 9 years ago

Travis CI's container based infra allows faster builds as it allows caching, here change is made to use wheels and cache them so that downloads do not hit the network once cached. Though the first build takes a bit of time, subsequent builds should be effectively able to use the build cache and do faster builds

theanalyst commented 9 years ago

just trying out the options for global env var.. i'll squash the commits once its fine

theanalyst commented 9 years ago

BTW the link about the container infra http://docs.travis-ci.com/user/workers/container-based-infrastructure/

theanalyst commented 9 years ago

I'm not sure about the tox wheel package in pypi.. have fixed up the file to use global options, let me know if anything else needs to be done. If ok I'll squash the commits

berkerpeksag commented 9 years ago

I'm not sure about the tox wheel package in pypi..

Just checked, there is no wheel distribution for tox on PyPI. Can you add a comment about this in the "pip wheel tox" line? Also, it would be good to make comments inline (e.g. sudo: false: # foo bar)

theanalyst commented 9 years ago

@berkerpeksag sure.. I'll add the coments and squash then

theanalyst commented 9 years ago

@berkerpeksag added comments and squashed the changes

berkerpeksag commented 9 years ago

Thanks!

berkerpeksag commented 9 years ago

I've added you to the repo. You can push trivial things like PEP 8 changes, typos, etc. without opening pull requests :)

theanalyst commented 9 years ago

Thanks :)