mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-24 15:36:27 +00:00
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:
parent
fe6a5047cd
commit
014e230221
3 changed files with 16 additions and 3 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -5,8 +5,10 @@ _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
|
||||||
/.tox
|
# Testing
|
||||||
/.coverage
|
/.coverage
|
||||||
|
/.tox
|
||||||
|
|
7
.travis.yml
Normal file
7
.travis.yml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- "2.7"
|
||||||
|
install:
|
||||||
|
- "pip install tox"
|
||||||
|
script:
|
||||||
|
- "tox"
|
8
tox.ini
8
tox.ini
|
@ -3,8 +3,12 @@ ignore = E101,E221,E241,E501,W191
|
||||||
max-line-length = 110
|
max-line-length = 110
|
||||||
|
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py27
|
envlist = flake8
|
||||||
|
|
||||||
|
[testenv:flake8]
|
||||||
|
deps = flake8
|
||||||
|
commands = flake8 bootstrapvz/ --exclude=minify_json.py
|
||||||
|
|
||||||
[testenv]
|
|
||||||
# Once tests have started being written, uncomment this to run tests when running tox.
|
# Once tests have started being written, uncomment this to run tests when running tox.
|
||||||
|
#[testenv]
|
||||||
#commands = nosetests -v tests --with-coverage --cover-package=bootstrapvz --cover-inclusive
|
#commands = nosetests -v tests --with-coverage --cover-package=bootstrapvz --cover-inclusive
|
||||||
|
|
Loading…
Add table
Reference in a new issue