Skip to content

Commit

Permalink
travis: run imgconverter unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Dec 21, 2017
1 parent 2ac5c03 commit 3899ca1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
@@ -1,9 +1,16 @@
sudo: required
dist: trusty
language: generic
install: git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
script: ~/qubes-builder/scripts/travis-build
language: python
python:
- '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:
- TESTS_ONLY=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=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
Expand Down
2 changes: 2 additions & 0 deletions ci/requirements.txt
@@ -0,0 +1,2 @@
Pillow
numpy

0 comments on commit 3899ca1

Please sign in to comment.