travis: test rpm generation
Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
parent
ef31294505
commit
faaa5ffa10
2 changed files with 23 additions and 0 deletions
|
|
@ -7,6 +7,13 @@ jobs:
|
|||
- name: pylint
|
||||
install: pip install pylint
|
||||
script: pylint osbuild osbuild-run assemblers/* stages/*
|
||||
- name: rpm
|
||||
before_install:
|
||||
- sudo apt-get install -y rpm python3-setuptools
|
||||
- sudo wget --directory-prefix=/usr/lib/rpm/macros.d https://src.fedoraproject.org/rpms/python-rpm-macros/raw/master/f/macros.python-srpm
|
||||
- sudo wget --directory-prefix=/usr/lib/rpm/macros.d https://src.fedoraproject.org/rpms/python-rpm-macros/raw/master/f/macros.python
|
||||
- sudo wget --directory-prefix=/usr/lib/rpm/macros.d https://src.fedoraproject.org/rpms/python-rpm-macros/raw/master/f/macros.python3
|
||||
script: make rpm-nodeps
|
||||
- name: pipeline-noop
|
||||
before_install: sudo apt-get install -y systemd-container
|
||||
script: sudo env "PATH=$PATH" python3 -m osbuild --libdir . --output . samples/noop.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue