For those who like to test in addition to your tests, check out travis-ci.org. When you link your GitHub repo to Travis, and have a good ".travis.yml" file (note the preceding dot), any git push triggers a travis run. You can specify a few things like what version(s) of your language to run, etc. Seeing that green "passed" is a nice way to end your coding session.
Here's the .travis.yml file for my rb_tools repo:
This one is for the py_tools repo:
Here's the .travis.yml file for my rb_tools repo:
Code:
language: ruby
rvm:
- 2
install: gem install sqlite3
This one is for the py_tools repo:
Code:
language: python
python:
- "2.6"
- "2.7"
- "3.6"
- "nightly"
script:
pytest