travis: run only unit tests

This commit is contained in:
Marek Marczykowski-Górecki 2017-12-22 17:47:53 +01:00
parent 2b1f8931a6
commit f42951578a
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -7,7 +7,7 @@ install:
- test -z "$TESTS_ONLY" || pip install -r ci/requirements.txt - test -z "$TESTS_ONLY" || pip install -r ci/requirements.txt
- test -n "$TESTS_ONLY" || git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder - test -n "$TESTS_ONLY" || git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
script: script:
- test -z "$TESTS_ONLY" || python -m unittest discover -v imgconverter - test -z "$TESTS_ONLY" || python -m unittest discover -v imgconverter -p test.py
- test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build - test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
env: env:
- 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