travis-ci / travis-yaml

parses, normalizes, validates and serializes your .travis.yml
http://yaml.travis-ci.org/
MIT License
170 stars 66 forks source link

addons are not valid #68

Closed angoca closed 8 years ago

angoca commented 9 years ago

When I use the check tool, it shows me that the addons word is not valid

sudo: false

addons:
  apt:
    packages:
      - aria2
      - curl
      - libaio1
      - lib32stdc++6
      - libpam-ldap:i386
before_install:
 - curl --url https://raw.githubusercontent.com/wiki/angoca/db2-docker/db2-link-expc.md -s > /tmp/link ; cat /tmp/link | tail -1 > /tmp/link2 ; cat /tmp/link2
 - cd /tmp ; aria2c -x 16 `cat /tmp/link2` ; tar zxvf v10.5_linuxx64_expc.tar.gz
 - sudo ln -s /lib/i386-linux-gnu/libpam.so.0 /lib/libpam.so.0

install:
 - cd /tmp/expc ; ./db2prereqcheck -l -i
 - sudo ./db2setup -r ${TRAVIS_BUILD_DIR}/db2.rsp || cat /tmp/db2setup.log
Freso commented 9 years ago

For me it says addons: unexpected key "apt", dropping, which means that addons is valid, but the child apt isn't, contrary to what it says on http://docs.travis-ci.com/user/apt/

Freso commented 9 years ago

Possibly a dupe of #58.