Project

General

Profile

Actions

Bug #3041

closed

Invalid YAML syntax in .travis.yml

Added by Davide Pesavento almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Urgent
Category:
Build
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:

Description

.travis.yml contains invalid YAML.

The error is:

did not find expected alphabetic or numeric character while scanning an anchor at line 12 column 36

lines 12-13 contain special characters and must be quoted.

Actions #1

Updated by Junxiao Shi almost 9 years ago

  • Description updated (diff)
  • Priority changed from Normal to Low

Confirmed with http://www.yamllint.com/.

The offending character appears to be &.

ndn-tools .travis.yml is similar to NFD's but uses if; then; fi and is valid YAML.

Actions #2

Updated by Junxiao Shi almost 9 years ago

  • Priority changed from Low to Urgent

Raising priority because TravisCI builds are failing: https://travis-ci.org/named-data/NFD/builds/70670587

Actions #3

Updated by Davide Pesavento almost 9 years ago

Junxiao Shi wrote:

Raising priority because TravisCI builds are failing: https://travis-ci.org/named-data/NFD/builds/70670587

...obviously. I'm wondering why we have travis at all since we're testing on jenkins before merging each commit.

Actions #4

Updated by Alex Afanasyev almost 9 years ago

  • Status changed from New to Code review
  • Assignee set to Alex Afanasyev
  • % Done changed from 0 to 100
Actions #5

Updated by Alex Afanasyev almost 9 years ago

Travis has a slightly different environment (clean environment for every build). Also, travis is a public resource, unlike our semi-private Jenkins installation.

In any case, the more checks we have, the better.

Actions #6

Updated by Junxiao Shi almost 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF