mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] add yaml syntax check in travis.yml
This commit is contained in:
parent
198bc51128
commit
a94733c1f9
2 changed files with 9 additions and 0 deletions
5
.travis.yml
Normal file
5
.travis.yml
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
language: python
|
||||||
|
install: "pip install pytest pyyaml"
|
||||||
|
python:
|
||||||
|
- "2.7"
|
||||||
|
script: "py.test tests"
|
4
tests/test_actionmap.py
Normal file
4
tests/test_actionmap.py
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
import yaml
|
||||||
|
|
||||||
|
def test_yaml_syntax():
|
||||||
|
yaml.load(open("data/actionsmap/yunohost.yml"))
|
Loading…
Add table
Reference in a new issue