Commit f80ef2e6 authored by Dorota Czaplejewicz's avatar Dorota Czaplejewicz

Merge branch 'pip' into 'master'

Add requirements file so make this more easily useable without distro packaging

See merge request !33
parents 5561d42d cb50f461
Pipeline #4367 passed with stages
in 4 minutes and 27 seconds
......@@ -39,7 +39,7 @@ build:deb:
paths:
- '*.deb'
test:download:
test:download:deb:
<<: *tags
stage: test
before_script:
......@@ -51,3 +51,18 @@ test:download:
- ls -l download/devkit.img download/flash_devkit.lst download/u-boot-devkit-recovery.imx
- rm -rf download
test:download:pip:
<<: *tags
stage: test
before_script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get -y update
- apt-get -y install virtualenv python3-pip
script:
- virtualenv --python=python3 test-download
- source test-download/bin/activate
- pip install -r requirements.txt
- python3 scripts/librem5-devkit-flash-image --skip-flash --skip-cleanup --dir=download/
- ls -l download/devkit.img download/flash_devkit.lst download/u-boot-devkit-recovery.imx
- rm -rf download
......@@ -29,6 +29,7 @@ Depends:
python3,
python3-pytest,
python3-evdev,
python3-yaml,
usb-modeswitch,
usbutils,
Description: Check script for the librem5-evk (devkit)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment