react-navigation/circle.yml
Kevin Cooper 85c2235a3c Improve CircleCI infrastructure (#1173)
* [Example] Get tests passing on ReduxExample and NavigationPlayground

* [CI] Use more vague versioning so we're always up to date

* [CI] Test that the example apps run without error

* [CI] Install the current local version of react-nav before testing

* Fix tabs => spaces in ReduxExample/package.json

* Remove LinkingExample entirely

It's now part of NavigationPlayground.
2017-04-24 10:54:58 -07:00

27 lines
565 B
YAML

machine:
node:
version: 6
pre:
- mkdir ~/.yarn-cache
dependencies:
pre:
- curl -o- -L https://yarnpkg.com/install.sh | bash
cache_directories:
- "~/.yarn-cache"
override:
- yarn install
- cd website && yarn install
deployment:
website-prod:
branch: master
commands:
- yarn run build-docs
- ./scripts/deploy-website.sh
test:
post:
- cd examples/NavigationPlayground && yarn add file:../.. && yarn install && yarn test
- cd examples/ReduxExample && yarn add file:../.. && yarn install && yarn test