Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
9seconds committed Apr 3, 2016
1 parent e603e3b commit 53e0085
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 6 deletions.
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: python
sudo: false
cache: pip

python:
- "3.3"
- "3.4"
- "3.5"

before_install:
- pip install codecov

install:
- pip install -r requirements.txt -r test-requirements.txt
- pip install -e .

script:
- py.test --cov-fail-under 90
- flake8
- radon cc --average --show-closures concierge_jinja
- radon raw --summary concierge_jinja
- radon mi --show --multi concierge_jinja
- xenon -aA -mA -bB concierge_jinja

after_success:
- codecov

notifications:
email:
- [email protected]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
concierge >=0.2,<1.0
jinja >=2.0,<3.0
jinja2 >=2.0,<3.0
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ python-tag = py34

[metadata]
name = concierge-jinja
version = 0.1
version = 0.2
description-file = README.rst
summary = Jinja2 templating for concierge
author = Sergey Arkhipov
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ usedevelop = True
basepython = python3.5
deps = -rtest-requirements.txt
commands =
radon cc --average --show-closures concierge
radon raw --summary concierge
radon mi --show --multi concierge
xenon -aA -mA -bB concierge
radon cc --average --show-closures concierge_jinja
radon raw --summary concierge_jinja
radon mi --show --multi concierge_jinja
xenon -aA -mA -bB concierge_jinja

0 comments on commit 53e0085

Please sign in to comment.