travis: run imgconverter unit tests
This commit is contained in:
parent
2ac5c03bb3
commit
3899ca1e5d
13
.travis.yml
13
.travis.yml
@ -1,9 +1,16 @@
|
|||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
language: generic
|
language: python
|
||||||
install: git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
|
python:
|
||||||
script: ~/qubes-builder/scripts/travis-build
|
- '2.7'
|
||||||
|
install:
|
||||||
|
- test -z "$TESTS_ONLY" || pip install -r ci/requirements.txt
|
||||||
|
- test -n "$TESTS_ONLY" || git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
|
||||||
|
script:
|
||||||
|
- test -z "$TESTS_ONLY" || python -m unittest discover -v imgconverter
|
||||||
|
- test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
|
||||||
env:
|
env:
|
||||||
|
- TESTS_ONLY=1
|
||||||
- DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
- DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
||||||
- DISTS_VM=fc24 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
- DISTS_VM=fc24 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
||||||
- DISTS_VM=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
- DISTS_VM=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
|
||||||
|
2
ci/requirements.txt
Normal file
2
ci/requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Pillow
|
||||||
|
numpy
|
Loading…
Reference in New Issue
Block a user