language: node_js
node_js:
  - "5"
  - "5.1"
  - "4"
  - "4.2"
  - "4.1"
  - "4.0"
before_install:
  - "npm install react react-native"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8

sudo: required
dist: trusty
language: node_js
node_js:
  - "5"
  - "5.1"
  - "4"
  - "4.2"
  - "4.1"
  - "4.0"
before_install:
  - "npm install react@^0.14.5 react-native"

Fix peer dependency because react is now up to version 15 now but react-native still wants ^0.14.5
Fix peer dependency because react is now up to version 15 now but react-native still wants ^0.14.5
