Skip to content

Commit

Permalink
Intial travis integration and toxing
Browse files Browse the repository at this point in the history
  • Loading branch information
copyninja committed Apr 19, 2014
1 parent 4cc8a5e commit aa5fe5e
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
@@ -0,0 +1,19 @@
language: python
python:
- "2.7"
- "3.3"
install:
- pip install -r requirements.txt
- pip install -r requirements-modules.txt
- pip install coveralls
script: make travis
after_success: coveralls
notifications:
email:
- silpa-discuss@nongnu.org
irc:
channels:
- "irc.freenode.net#silpa"
on_success: change
on_failure: change
use_notice: true
13 changes: 13 additions & 0 deletions Makefile
@@ -0,0 +1,13 @@
travis:
nosetests -s --with-coverage --cover-package=silpa
flake8 silpa tests

clean:
find . -name "*.pyc" -exec rm -vf {} \;
find -name __pycache__ -deete

tox:
tox

flake:
flake8 silpa tests
11 changes: 11 additions & 0 deletions tox.ini
@@ -0,0 +1,11 @@
[tox]
envlist = py27, py33, flake8
[testenv]
commands = nosetests
deps =
nose

[testenv:flake8]
deps =
flake8
commands = flake8 silpa tests

0 comments on commit aa5fe5e

Please sign in to comment.