Tests: Travis and Coveralls integration
parent
47b44fe56c
commit
e2d68dac14
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- 2.6
|
||||||
|
- 2.7
|
||||||
|
- 3.3
|
||||||
|
- 3.4
|
||||||
|
- 3.5
|
||||||
|
- nightly
|
||||||
|
install:
|
||||||
|
- pip install pyyaml flake8 coveralls
|
||||||
|
- pip install .
|
||||||
|
script:
|
||||||
|
- flake8 .
|
||||||
|
- yamllint $(git ls-files '*.yml')
|
||||||
|
- coverage run --source=yamllint setup.py test
|
||||||
|
after_success:
|
||||||
|
coveralls
|
@ -1,3 +0,0 @@
|
|||||||
.PHONY: tests
|
|
||||||
tests:
|
|
||||||
python -m unittest discover
|
|
@ -1 +1,4 @@
|
|||||||
# yamllint
|
# yamllint
|
||||||
|
|
||||||
|
[![Build Status](https://travis-ci.org/adrienverge/yamllint.svg?branch=master)](https://travis-ci.org/adrienverge/yamllint)
|
||||||
|
[![Coverage Status](https://coveralls.io/repos/adrienverge/yamllint/badge.svg?branch=master&service=github)](https://coveralls.io/github/adrienverge/yamllint?branch=master)
|
||||||
|
Loading…
Reference in New Issue