language: node_js

node_js:
  - 0.10

env:
  global:
    - GH_REF: github.com/bem/bem-components.git
    - ISTANBUL_COVERAGE: yes

branches:
  only:
    - v2

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!"


language: node_js

node_js:
  - 0.10

env:
  global:
    - GH_REF: github.com/bem/bem-components.git
    - ISTANBUL_COVERAGE: yes

branches:
  except:
    - v1
    - master

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!"


Build all branches except v1 and master
Build all branches except v1 and master
