buckket / twtxt

Decentralised, minimalist microblogging service for hackers.
http://twtxt.readthedocs.org/en/stable/
MIT License
1.92k stars 79 forks source link

Use tox and integrate with travis and coveralls #29

Closed timofurrer closed 8 years ago

timofurrer commented 8 years ago

Use tox for local and CI testing.

Run tox to run tests with python 3.4 and python 3.5:

tox

If tox is from a python version < 3.4.1 you have to call tox with this version:

python3.4 -m tox

This is needed because of the version check in setup.py.

buckket commented 8 years ago

I’m not familiar with tox right now. Like the idea and the concept though. Will check it out later, but #38 worries me. Hopefully there’s a clean solution.

timofurrer commented 8 years ago

As I've said in #38 - You don't have these issues with this patch and tox anymore.

However, I'd really appreciate if this patch would be integrated asap to make local testing easier - at the moment you have to change virtualenvs to test for python 3.4 and 3.5.

buckket commented 8 years ago

Why use tox for testing on Travis? They already provide a simple way to use different environments.

timofurrer commented 8 years ago

Just to prevent redundant/different ways to run the tests. And with tox-travis tox it's pretty good integrated in travis.

buckket commented 8 years ago

Ok, tox should be working now! :grinning: Solved it a bit differently than proposed in this PR.

Thanks nonetheless!