File tree 1 file changed +13
-19
lines changed
1 file changed +13
-19
lines changed Original file line number Diff line number Diff line change @@ -5,32 +5,26 @@ jobs: # a collection of steps
5
5
docker : # run the steps with Docker
6
6
- image : circleci/node:dubnium # ...with this image as the primary container; this is where all `steps` will run
7
7
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-
13
8
- 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
-
24
9
- run :
25
- name : " Set environment variables"
10
+ name : " Setting env variables"
26
11
command : |
27
12
echo 'export BS_TRAVIS_CI=1' >> $BASH_ENV
28
13
echo 'export NINJA_FORCE_REBUILD=1' >> $BASH_ENV
29
14
echo 'export OCAMLRUNPARAM="b"' >> $BASH_ENV
30
15
- run :
31
- name : " Check environment variables"
16
+ name : " Check env variables"
32
17
command : |
33
18
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
34
27
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
You can’t perform that action at this time.
0 commit comments