Author: Honza Pokorny <me@honza.ca>
Add travis file
.travis.yml | 6 ++++++ .yamllint | 10 ++++++++++
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..3bb88df2efa8f5ec9083dc766ad5d965d05faa96 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +language: minimal +dist: bionic +before_install: + - sudo apt-get -y install yamllint +script: + - find . -name '*.yml' -o -name '*.yaml' -exec yamllint --strict --format parsable {} \+ diff --git a/.yamllint b/.yamllint new file mode 100644 index 0000000000000000000000000000000000000000..dfa75c16b54e2735b9e58ce95f3973fb7f8a5496 --- /dev/null +++ b/.yamllint @@ -0,0 +1,10 @@ +--- +# vim: ft=yaml +# It extends the default conf by adjusting some options. + +extends: default + +rules: + comments-indentation: disable # don't bother me with this rule + line-length: + max: 120