• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

adrienverge / yamllint / 1124
100%

Build:
DEFAULT BRANCH: master
Ran 15 Dec 2020 10:53AM UTC
Jobs 14
Files 29
Run time 59s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1124

push

travis-ci-com

web-flow
Allow only non-empty brackets/braces

We'd like to disallow brackets and braces in our YAML, but there's a
catch: the only way to describe an empty array or hash in YAML is to
supply an empty one (`[]` or `{}`). Otherwise, the value will be null.

This commit adds a `non-empty` option to `forbid` for brackets and
braces. When it is set, all flow and sequence mappings will cause errors
_except_ for empty ones.

1130 of 1154 relevant lines covered (97.92%)

13.64 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1124.1 (REMOVE_LOCALES=false) 15 Dec 2020 10:53AM UTC 0
97.92
Travis Job 1124.1
2 1124.2 (REMOVE_LOCALES=true) 15 Dec 2020 10:53AM UTC 0
97.32
Travis Job 1124.2
3 1124.3 (REMOVE_LOCALES=false) 15 Dec 2020 10:54AM UTC 0
97.58
Travis Job 1124.3
4 1124.4 (REMOVE_LOCALES=true) 15 Dec 2020 10:54AM UTC 0
97.32
Travis Job 1124.4
5 1124.5 (REMOVE_LOCALES=false) 15 Dec 2020 10:54AM UTC 0
97.58
Travis Job 1124.5
6 1124.6 (REMOVE_LOCALES=true) 15 Dec 2020 10:53AM UTC 0
97.32
Travis Job 1124.6
7 1124.7 (REMOVE_LOCALES=false) 15 Dec 2020 10:54AM UTC 0
97.58
Travis Job 1124.7
8 1124.8 (REMOVE_LOCALES=true) 15 Dec 2020 10:53AM UTC 0
97.32
Travis Job 1124.8
9 1124.9 (REMOVE_LOCALES=false) 15 Dec 2020 10:54AM UTC 0
97.5
Travis Job 1124.9
10 1124.10 (REMOVE_LOCALES=true) 15 Dec 2020 10:54AM UTC 0
97.24
Travis Job 1124.10
11 1124.11 (REMOVE_LOCALES=false) 15 Dec 2020 10:54AM UTC 0
97.5
Travis Job 1124.11
12 1124.12 (REMOVE_LOCALES=true) 15 Dec 2020 10:54AM UTC 0
97.24
Travis Job 1124.12
13 1124.13 (REMOVE_LOCALES=false) 15 Dec 2020 10:54AM UTC 0
97.59
Travis Job 1124.13
14 1124.14 (REMOVE_LOCALES=true) 15 Dec 2020 10:54AM UTC 0
97.33
Travis Job 1124.14
Source Files on build 1124
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1124
  • ee4d163f on github
  • Prev Build on master (#1118)
  • Next Build on master (#1142)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc