Files
react-navigation/circle.yml
2017-05-14 21:28:38 -07:00

33 lines
800 B
YAML

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