diff --git a/.gitignore b/.gitignore index ebaa1c3..1da12cf 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,9 @@ _site/ # When developing for ec2 `vagrant provision' is quite handy /Vagrantfile /.vagrant +# Building the package /build /dist /bootstrap_vz.egg-info +# Testing +/.tox diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1327034 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: python +python: + - "2.7" +install: + - "pip install tox" +script: + - "tox" diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000..6d77394 --- /dev/null +++ b/tox.ini @@ -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