File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ commands:
15
15
- run :
16
16
name : Install dependencies
17
17
command : |
18
- ./automation/readies/bin/getpy
19
- ./automation/system-setup.py
18
+ sudo ./automation/readies/bin/getpy
19
+ sudo ./automation/system-setup.py
20
20
git clone git://github.com/antirez/redis.git --branch 5.0.5
21
- (cd redis && make malloc=libc -j $(nproc) && make install)
21
+ (cd redis && make malloc=libc -j $(nproc) && sudo make install)
22
22
./get_deps.sh cpu
23
23
- save_cache :
24
24
paths :
@@ -31,7 +31,8 @@ commands:
31
31
name : Test
32
32
command : |
33
33
mkdir -p /workspace/tests
34
- make -C automation test TEST_REPORT_DIR=/workspace/tests SHOW=1
34
+ make -C automation test SHOW=1
35
+ cp test/logs/* /workspace/tests
35
36
- run :
36
37
name : Package
37
38
command : make -C automation pack BRANCH="${CIRCLE_BRANCH//[^A-Za-z0-9._-]/_}" INTO=/workspace/packages SHOW=1
@@ -58,7 +59,7 @@ commands:
58
59
jobs :
59
60
build :
60
61
docker :
61
- - image : ' redislabsmodules/rmbuilder:latest '
62
+ - image : circleci/python:3.7.4-buster
62
63
environment :
63
64
DEPS : " "
64
65
steps :
Original file line number Diff line number Diff line change @@ -103,8 +103,8 @@ pack_deps: pack_ramp
103
103
TEST_REPORT_DIR ?= $(PWD )
104
104
105
105
test :
106
- $(SHOW ) if [ " $( git lfs env > /dev/null 2>&1 ; echo $? ) " != " 0" ]; then git lfs install; fi
107
- $(SHOW ) git lfs pull
106
+ $(SHOW ) if [ " $( git lfs env > /dev/null 2>&1 ; echo $? ) " != " 0" ]; then cd $( ROOT ) ; git lfs install; fi
107
+ $(SHOW ) cd $( ROOT ) ; git lfs pull
108
108
$(SHOW ) set -e ; \
109
109
cd $(ROOT ) /test ; \
110
110
python3 -m RLTest $(TEST_ARGS ) --test basic_tests.py \
You can’t perform that action at this time.
0 commit comments