prepack/circle.yml
Herman Venter 4944f2e939 Fix flow errors
Summary:
Update Flow and fix errors found by new version.

I'm none to sure the changes to the code are desirable. Perhaps the flow types for babel-types need to be updated?
Closes https://github.com/facebook/prepack/pull/1127

Differential Revision: D6222475

Pulled By: hermanventer

fbshipit-source-id: 208b89787914fc7d1e322cb14a6ff2374cd24b9a
2017-11-03 00:10:03 -07:00

37 lines
839 B
YAML

machine:
node:
version: 8.8.1
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
compile:
override:
- yarn build
- yarn build-scripts
dependencies:
override:
- yarn
cache_directories:
- ~/.cache/yarn
test:
override:
- yarn lint
- yarn flow
- yarn depcheck
- yarn test-serializer-with-coverage
- yarn test-sourcemaps
- yarn test-std-in
- yarn test-residual
- yarn test-test262 -- --statusFile $CIRCLE_ARTIFACTS/test262-status.txt --timeout 120 --cpuScale 0.25 --verbose:
timeout: 1800
post:
- mv coverage/lcov-report $CIRCLE_ARTIFACTS/coverage-report
- mv coverage-sourcemapped $CIRCLE_ARTIFACTS/coverage-report-sourcemapped
checkout:
post:
- git submodule sync
- git submodule update --init # use submodules