]> granicus.if.org Git - libevent/commitdiff
Fix all all yamllint warnings in travis/appveyor rules
authorAzat Khuzhin <azat@libevent.org>
Tue, 8 Oct 2019 21:16:50 +0000 (00:16 +0300)
committerAzat Khuzhin <azat@libevent.org>
Tue, 8 Oct 2019 21:19:17 +0000 (00:19 +0300)
.travis.yml
.yamllint [new file with mode: 0644]
appveyor.yml

index a89fcbb7098f1abe16b465bc62d6a7c963781fcd..453cbee515e9a74dbb6e160e06ec7946eb68a97d 100644 (file)
@@ -1,3 +1,4 @@
+---
 os:
   - linux
   - osx
@@ -7,11 +8,11 @@ osx_image: xcode10.1
 
 branches:
   except:
-  - /.*appveyor.*/
-  - /.*win.*/
-  - /.*mingw.*/
-  - /.*freebsd.*/
-  - /.*bitrise.*/
+    - /.*appveyor.*/
+    - /.*win.*/
+    - /.*mingw.*/
+    - /.*freebsd.*/
+    - /.*bitrise.*/
 
 git:
   quiet: true
@@ -97,22 +98,22 @@ before_install:
 addons:
   apt:
     sources:
-    - xenial
-    - sourceline: 'deb http://archive.ubuntu.com/ubuntu xenial main'
+      - xenial
+      - sourceline: 'deb http://archive.ubuntu.com/ubuntu xenial main'
     packages:
-    - zlib1g-dev
-    - libssl-dev
-    - build-essential
-    - automake
-    - autoconf
-    - cmake
-    - lcov
+      - zlib1g-dev
+      - libssl-dev
+      - build-essential
+      - automake
+      - autoconf
+      - cmake
+      - lcov
   homebrew:
     packages:
-    - openssl
-    - lcov
-    - libtool
-    - gcc
+      - openssl
+      - lcov
+      - libtool
+      - gcc
 
 
 script:
diff --git a/.yamllint b/.yamllint
new file mode 100644 (file)
index 0000000..6946975
--- /dev/null
+++ b/.yamllint
@@ -0,0 +1,9 @@
+# vi: ft=yaml
+---
+extends: default
+
+rules:
+    indentation:
+        level: warning
+        indent-sequences: consistent
+    line-length: disable
index f7b0ee06dd2c3493f2911b366ba7306f7ee23627..902e9a96211840932f90bc57aae024f0f6ead782 100644 (file)
@@ -1,3 +1,4 @@
+---
 version: 2.2.0.{build}
 
 os: Visual Studio 2017