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

.travis.yml file fails Lint but passes build. please tell me what is wrong! #77

Open
nelsonic opened this issue Nov 5, 2015 · 2 comments

Comments

@nelsonic
Copy link

nelsonic commented Nov 5, 2015

Hi Travis Team/Community!
Can someone tell me what is wrong with this travis.yml file:

language: node_js
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
node_js:
  - 0.12
services:
  - redis-server
before_install:
  - pip install --user codecov
after_success:
  - codecov

It _fails_ in the Travis WebLint: http://lint.travis-ci.org/

travis-weblint-fails

But passes travis build: https://travis-ci.org/dwyl/hapi-socketio-redis-chat-example/builds/89449194

The reason I'm asking is because I want to use this .travis.yml as the basis for another project, but given that it fails Lint I want to know what is wrong before proceeding...

relates to: dwyl/hapi-socketio-redis-chat-example#45

@awatson1978
Copy link

Yeah, something seems to be off with the linter. It's not passing files that I've used in production for awhile; and it seems to want all of the spaces removed.

I'm getting errors during deployment a well tested .travis.yml file I've used in many other projects; so I'm not sure it's necessarily a problem with http://lint.travis-ci.org/. If there's a linting dependency common to both lint.travis-ci.org and the CI environment, that's probably been modified/updated recently.

@galeksandrp
Copy link

#58

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

3 participants