Commit 7a1f319 1 parent 021dde7 commit 7a1f319 Copy full SHA for 7a1f319
File tree 3 files changed +31
-5
lines changed
3 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 1
1
version : 2
2
2
jobs :
3
- build :
3
+ safety :
4
4
machine :
5
5
docker_layer_caching : true
6
6
steps :
7
7
- checkout
8
8
- run :
9
9
name : Build image
10
- command : " docker build -t panda -f tests/safety/Dockerfile ."
10
+ command : " docker build -t panda_safety -f tests/safety/Dockerfile ."
11
11
- run :
12
12
name : Run safety test
13
13
command : |
14
- docker run panda /bin/bash -c "cd /panda/tests/safety; ./test.sh"
14
+ docker run panda_safety /bin/bash -c "cd /panda/tests/safety; ./test.sh"
15
+ build :
16
+ machine :
17
+ docker_layer_caching : true
18
+ steps :
19
+ - checkout
20
+ - run :
21
+ name : Build image
22
+ command : " docker build -t panda_build -f tests/build/Dockerfile ."
23
+ - run :
24
+ name : Test python package installer
25
+ command : |
26
+ docker run panda_build /bin/bash -c "cd /panda; python setup.py install"
27
+
28
+ workflows :
29
+ version : 2
30
+ main :
31
+ jobs :
32
+ - safety
33
+ - build
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:16.04
2
+
3
+ RUN apt-get update && apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi gperf texinfo help2man python python-pip
4
+ RUN pip install setuptools
5
+
6
+ COPY . /panda
7
+
8
+ WORKDIR /panda
Original file line number Diff line number Diff line change @@ -2,6 +2,5 @@ FROM ubuntu:16.04
2
2
3
3
RUN apt-get update && apt-get install -y clang make python python-pip
4
4
COPY tests/safety/requirements.txt /panda/tests/safety/requirements.txt
5
- RUN pip install -r /panda/safety/ tests/requirements.txt
5
+ RUN pip install -r /panda/tests/safety /requirements.txt
6
6
COPY . /panda
7
-
You can’t perform that action at this time.
0 commit comments