Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple values are reported invalid but are ok on actual build #100

Open
raphaelstolt opened this issue Oct 17, 2016 · 0 comments
Open

Comments

@raphaelstolt
Copy link

When validating this .travis.yml against Travis WebLint I get the following lint error message:

in matrix.include.env section: does not support multiple values, dropping LINT=true

Running it on Travis CI doesn't drop the LINT environment variable.

Linting should be in sync with the acual build behaviour.

Also the misleading lint error message might have people refactoring their Travis CI configuration in a readability decreasing way.

# fails validation, good readability 
matrix:
  include:
    - php: 7.0
      env:
      - DISABLE_XDEBUG=true
      - LINT=true

vs

# passes validation, decreased readability 
matrix:
  include:
    - php: 7.0
      env: DISABLE_XDEBUG=true LINT=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant