Automation of and pip through Travis CI?

twitter logo github logo ・1 min read

Is Travis CI necessary (or even helpful) for single developer github projects?

The way I presently work is I run 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:

  1. Does travis automatically runs sdist for me?
  2. How does it know when to trigger a build?
  3. Where does it put the release tarballs?
  4. 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?

twitter logo DISCUSS
Classic DEV Post from Aug 17 '18

How to take breaks while coding

2 common questions that people ask and 1 surprising question people **don't** ask about taking breaks while coding

Prahlad Yeri profile image
Most programmers like coffee but I'm fond of tea.