Add Travis CI

By now, it will only test the coding style rules defined for the
project, which are basically a few exceptions to the PEP8.
This commit is contained in:
Tiago Ilieve 2014-04-27 09:59:11 -03:00
parent 72492a6077
commit 2e5d291b9c
3 changed files with 20 additions and 0 deletions

3
.gitignore vendored
View file

@ -5,6 +5,9 @@ _site/
# When developing for ec2 `vagrant provision' is quite handy # When developing for ec2 `vagrant provision' is quite handy
/Vagrantfile /Vagrantfile
/.vagrant /.vagrant
# Building the package
/build /build
/dist /dist
/bootstrap_vz.egg-info /bootstrap_vz.egg-info
# Testing
/.tox

7
.travis.yml Normal file
View file

@ -0,0 +1,7 @@
language: python
python:
- "2.7"
install:
- "pip install tox"
script:
- "tox"

10
tox.ini Normal file
View file

@ -0,0 +1,10 @@
[flake8]
ignore = E101,E221,E241,E501,W191
max-line-length = 110
[tox]
envlist = flake8
[testenv:flake8]
deps = flake8
commands = flake8 bootstrapvz/ --exclude=minify_json.py