centralize requirements for tests

master
Riccardo 2019-10-15 14:21:33 -07:00
parent a0c37c70ab
commit 7434c5ce28
7 changed files with 14 additions and 25 deletions

View File

@ -1,7 +1,11 @@
libusb1 == 1.6.6
hexdump
pycrypto
tqdm
numpy==1.17.2
hexdump>=3.3
pycrypto==2.6.1
tqdm>=4.14.0
nose
parameterized
requests
flake8==3.7.8
pylint==2.4.2
cffi==1.11.4

View File

@ -14,5 +14,4 @@ RUN pyenv install 3.7.3
RUN pyenv global 3.7.3
RUN pyenv rehash
COPY tests/safety/requirements.txt /panda/tests/safety/requirements.txt
COPY . /panda

View File

@ -14,6 +14,6 @@ RUN pyenv install 3.7.3
RUN pyenv global 3.7.3
RUN pyenv rehash
COPY tests/linter_python/requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
COPY . /panda

View File

@ -1,11 +0,0 @@
cffi==1.11.4
numpy==1.14.5
libusb1==1.6.6
requests
flake8==3.7.8
pylint==2.4.2
pycrypto==2.6.1
hexdump>=3.3
nose
tqdm>=4.14.0
parameterized

View File

@ -1,6 +1,6 @@
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y make python python-pip git
COPY tests/safety/requirements.txt /panda/tests/safety/requirements.txt
RUN pip install -r /panda/tests/safety/requirements.txt
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
COPY . /panda

View File

@ -14,6 +14,7 @@ RUN pyenv install 3.7.3
RUN pyenv global 3.7.3
RUN pyenv rehash
COPY tests/safety/requirements.txt requirements.txt
RUN pip install -r requirements.txt
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
COPY . /panda

View File

@ -1,4 +0,0 @@
cffi==1.11.4
numpy==1.14.5
libusb1==1.6.6
requests