language: node_js

node_js:
  - '0.10'

env:
  global:
    - secure: "EocST8MkGsiC8SU91QH8/Cz71ehcCHW6+VEeG6RalauYpB56O77p9d4gwhIk5J7uFyRHyEHJConjN/JM74WSY1s2jvVn2AZTeyhVgacxPFjaRZyRnDMjlyGEUfABfaKggpFvtiCzYKh/Y0jYDK27beDXdTp+nAcZQDAyFpjL6JU="
    - GH_REF: bem/bem-core
    - ISTANBUL_COVERAGE: yes

branches:
  only:
    - /^v\d+$/

after_success:
  - npm install coveralls
  - ./node_modules/.bin/istanbul report lcovonly
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && echo "Coverage data was sent to coveralls!"
  - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ./tools/update-jsdoc.sh || "false"'


language: node_js

node_js:
  - '0.10'

# sudo=false to run builds inside container infrastructure
# see https://github.com/bem/bem-components/issues/1528
sudo: false

env:
  global:
    - secure: "EocST8MkGsiC8SU91QH8/Cz71ehcCHW6+VEeG6RalauYpB56O77p9d4gwhIk5J7uFyRHyEHJConjN/JM74WSY1s2jvVn2AZTeyhVgacxPFjaRZyRnDMjlyGEUfABfaKggpFvtiCzYKh/Y0jYDK27beDXdTp+nAcZQDAyFpjL6JU="
    - GH_REF: bem/bem-core
    - ISTANBUL_COVERAGE: yes

branches:
  only:
    - /^v\d+$/

after_success:
  - npm install coveralls
  - ./node_modules/.bin/istanbul report lcovonly
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && echo "Coverage data was sent to coveralls!"
  - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ./tools/update-jsdoc.sh || "false"'


Use container infrastructure to run builds in Travis
Use container infrastructure to run builds in Travis

see bem/bem-components#1528 for reference
