Is Travis CI necessary (or even helpful) for single developer github projects?
The way I presently work is I run setup.py sdist
which generates the tar files for my package which I then upload to PyPi using twine
.
I want to know how to use travis-ci for a simple project. Is there a simple hello world python project to do this? Its documentation seems complex and there seem to be multiple ways of configuring travis.yaml
using tox, etc.
Mainly, I want to know:
- Does travis automatically runs
setup.py sdist
for me? - How does it know when to trigger a build?
- Where does it put the release tarballs?
- Does it make a github release automatically too?
Also I'm thinking of adding unit testing to my packages. Is pytest
the recommended or are there any other options too?
Top comments (0)