Skip to content

Commit

Permalink
Test building the example apps in Travis. Closes #1180
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher committed May 31, 2016
1 parent 0b07666 commit b06b4a3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,25 @@ node_js:
- '6'
install: true
env:
- BUILD_EXAMPLE=examples/relay-treasurehunt
- BUILD_EXAMPLE=examples/star-wars
- BUILD_EXAMPLE=examples/todo
- BUILD_EXAMPLE=examples/TodoMVC
- TEST=.
- TEST=scripts/babel-relay-plugin
- TYPECHECK=.
- TYPECHECK=scripts/babel-relay-plugin
matrix:
allow_failures:
- env: BUILD_EXAMPLE=examples/relay-treasurehunt
- env: BUILD_EXAMPLE=examples/star-wars
- env: BUILD_EXAMPLE=examples/todo
- env: BUILD_EXAMPLE=examples/TodoMVC
script:
- |
if [ $BUILD_EXAMPLE ]; then
cd $BUILD_EXAMPLE && npm install && npm run update-schema
fi
- |
if [ $TEST ]; then
cd $TEST && npm install && npm run jest -- --runInBand --no-watchman
Expand Down

0 comments on commit b06b4a3

Please sign in to comment.