language: node_js
node_js:
  - "5"
  - "5.1"
  - "4.2"

before_script:
  - npm install coveralls --save-dev

script:
  - npm test

after_script:
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

branches:
  only:
    - master

language: node_js
node_js:
  - "5"
  - "5.1"
  - "4.2"

before_script:
  - npm install react react-native
  - npm install coveralls --save-dev

script:
  - npm test

after_script:
  - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js

branches:
  only:
    - master

Install react native before run script
Install react native before run script
