From 0126d29246bbb62c3b615e9e38e6647eb30beb94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Mon, 27 Feb 2017 20:20:05 +0100 Subject: [PATCH] travis: enable package build --- .travis.yml | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 60a4712..0c228d2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,16 +7,21 @@ python: - '3.5' install: - 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: - - pylint --rcfile=ci/pylintrc qubesmgmt - - python -m unittest discover -p '*.py' -v -# - ~/qubes-builder/scripts/travis-build -#env: -# - DIST_DOM0=fc23 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1 + - test -z "$TESTS_ONLY" || pylint --rcfile=ci/pylintrc qubesmgmt + - test -z "$TESTS_ONLY" || python -m unittest discover -p '*.py' -v + - test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build +env: + - TESTS_ONLY=1 -#after_success: -# - ~/qubes-builder/scripts/travis-deploy +matrix: + 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 branches: