---
language: node_js
node_js:
- '4'
- '5'
install: true
env:
- TEST_DIR=.
- TEST_DIR=scripts/babel-relay-plugin
script: cd $TEST_DIR && npm install && npm test

---
language: node_js
node_js:
- '4'
- '5'
install: true
env:
- TYPECHECK=.
- TYPECHECK=scripts/babel-relay-plugin
- TEST=.
- TEST=scripts/babel-relay-plugin
script:
- |
    if [ $TYPECHECK ]; then
      cd $TYPECHECK && npm install && npm run typecheck
    fi
    if [ $TEST ]; then
      cd $TEST && npm install && npm run jest
    fi

Split Jest and Flow into two build steps
Split Jest and Flow into two build steps

Summary: Closes https://github.com/facebook/relay/pull/1114

Differential Revision: D3261804

Pulled By: steveluscher

fb-gh-sync-id: cb2018763aedd16eeb49d698773307b7ac6eb65d
fbshipit-source-id: cb2018763aedd16eeb49d698773307b7ac6eb65d
