prepack/circle.yml
Dominic Gannaway 5fe52eeb5a Run test-react before serializer tests
Summary:
Release notes: `test-react` now gets run before `test-serializer-with-coverage` on the CI

In order to get better CI feedback and fail faster and earlier if possible, run the React tests first. They only take ~90s, compared to ~22m it takes for the serializer tests.
Closes https://github.com/facebook/prepack/pull/1760

Differential Revision: D7686477

Pulled By: trueadm

fbshipit-source-id: 9f3376c2ac7aa6711864b0e0f728e7020a14af6a
2018-04-19 11:16:59 -07:00

40 lines
1.0 KiB
YAML

machine:
node:
version: 8.9.4
environment:
PATH: "${PATH}:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin"
compile:
override:
- yarn build
- yarn build-scripts
dependencies:
override:
- yarn install --frozen-lockfile # make sure that lockfile is up-to-date
cache_directories:
- ~/.cache/yarn
test:
override:
- yarn lint
- yarn flow
- yarn depcheck
- yarn test-react
- 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
# - yarn test-test262-new -- --statusFile $CIRCLE_ARTIFACTS/test262-new-status.txt --timeout 120 --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