Skip to content

Commit 023755a

Browse files
authored
Merge pull request #5331 from rescript-lang/revert-5182-patch-1
Revert "circleci: enable .git directory caching"
2 parents 9180b51 + b7e6499 commit 023755a

File tree

1 file changed

+13
-19
lines changed

1 file changed

+13
-19
lines changed

.circleci/config.yml

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,26 @@ jobs: # a collection of steps
55
docker: # run the steps with Docker
66
- image: circleci/node:dubnium # ...with this image as the primary container; this is where all `steps` will run
77
steps: # a collection of executable commands
8-
- restore_cache: # try to restore .git folder from cache to speed up checkout
9-
keys:
10-
- source-v1-{{ .Branch }}-{{ .Revision }}
11-
- source-v1-{{ .Branch }}-
12-
- source-v1-
138
- checkout # special step to check out source code to working directory
14-
- run:
15-
name: "Pull git submodules"
16-
command: |
17-
git submodule sync
18-
git submodule update --init
19-
- save_cache: # write .git folder to cache
20-
key: source-v1-{{ .Branch }}-{{ .Revision }}
21-
paths:
22-
- ".git"
23-
249
- run:
25-
name: "Set environment variables"
10+
name: "Setting env variables"
2611
command: |
2712
echo 'export BS_TRAVIS_CI=1' >> $BASH_ENV
2813
echo 'export NINJA_FORCE_REBUILD=1' >> $BASH_ENV
2914
echo 'export OCAMLRUNPARAM="b"' >> $BASH_ENV
3015
- run:
31-
name: "Check environment variables"
16+
name: "Check env variables"
3217
command: |
3318
echo BS_TRAVIS_CI ${BS_TRAVIS_CI}
19+
- run:
20+
name: "Pull Submodules"
21+
command: |
22+
git submodule init
23+
git submodule update
24+
- run:
25+
name: ci-install
26+
command: npm ci # `npm ci` is not available on node v8
3427

35-
- run: npm ci # `npm ci` is not available on node v8
36-
- run: npm test
28+
- run: # run tests
29+
name: test
30+
command: npm test

0 commit comments

Comments
 (0)