forked from facebookarchive/prepack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
37 lines (33 loc) · 869 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
machine:
node:
version: 7.9.0
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-node-cli-mode
- 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