travis: enable package build

This commit is contained in:
Marek Marczykowski-Górecki 2017-02-27 20:20:05 +01:00
parent 58ee672743
commit 0126d29246
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -7,16 +7,21 @@ python:
- '3.5' - '3.5'
install: install:
- pip install --quiet -r ci/requirements.txt - pip install --quiet -r ci/requirements.txt
# - git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-builder ~/qubes-builder - git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-builder ~/qubes-builder
script: script:
- pylint --rcfile=ci/pylintrc qubesmgmt - test -z "$TESTS_ONLY" || pylint --rcfile=ci/pylintrc qubesmgmt
- python -m unittest discover -p '*.py' -v - test -z "$TESTS_ONLY" || python -m unittest discover -p '*.py' -v
# - ~/qubes-builder/scripts/travis-build - test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
#env: env:
# - DIST_DOM0=fc23 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1 - TESTS_ONLY=1
#after_success: matrix:
# - ~/qubes-builder/scripts/travis-deploy include:
- env: DIST_DOM0=fc23 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
python: 2.7
after_success:
- ~/qubes-builder/scripts/travis-deploy
# don't build tags which are meant for code signing only # don't build tags which are meant for code signing only
branches: branches: