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

Missing space in .travis.yml causes travis-ci validation error. #1090

Closed
mariagwyn opened this issue Feb 14, 2017 · 0 comments
Closed

Missing space in .travis.yml causes travis-ci validation error. #1090

mariagwyn opened this issue Feb 14, 2017 · 0 comments
Labels
Bug Something isn't working

Comments

@mariagwyn
Copy link
Contributor

My system information:

  • BLT version: 8.6.12

Did the following:

  • Updated to 8.6.12.
  • remove and initialized new .travis.yml.

When travis-ci is run this error results:

ERROR: An error occured while trying to parse your .travis.yml file.
Please make sure that the file is valid YAML.
http://lint.travis-ci.org can check your .travis.yml.
The log message was: Build config file had a parse error: did not find expected key while parsing a block mapping at line 2 column 1.

After validating by removing lines, apparently there is a missing space at line 59, the SECOND - provider::

deploy:
   - provider: script
     script: source $BLT_DIR/scripts/travis/deploy_branch
     skip_cleanup: true
     on:
       branch: develop
       php: 5.6
  - provider: script
     script: source $BLT_DIR/scripts/travis/deploy_branch
     skip_cleanup: true
     on:
       branch: master
       php: 5.6
   - provider: script
     script: source $BLT_DIR/scripts/travis/deploy_tag
     skip_cleanup: true
     on:
       tags: true
       php: 5.6

After removing the space, travis continues on as it should.

@grasmash grasmash added the Bug Something isn't working label Feb 14, 2017
grasmash pushed a commit that referenced this issue Feb 14, 2017
* Issue 1084: add 'type:' to drupal-custom-module installer path.

* #1090: fixing missing space in .travis.yml so it validates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants