core-admin-client/.travis.yml

39 lines
934 B
YAML
Raw Normal View History

sudo: required
dist: trusty
language: python
python:
- '2.7'
- '3.4'
- '3.5'
2017-02-24 00:48:37 +01:00
install:
- pip install --quiet -r ci/requirements.txt
2017-02-27 20:20:05 +01:00
- git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-builder ~/qubes-builder
script:
- test -z "$TESTS_ONLY" || python setup.py build
- test -z "$TESTS_ONLY" || { cd build/lib; PYTHONPATH=../../test-packages pylint --rcfile=../../ci/pylintrc qubesmgmt; }
- test -z "$TESTS_ONLY" || { cd build/lib; ROOTDIR=../.. ../../run-tests; }
2017-02-27 20:20:05 +01:00
- test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
env:
- TESTS_ONLY=1
2017-02-27 20:20:05 +01:00
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
- codecov
# don't build tags which are meant for code signing only
branches:
except:
- /.*_.*/
addons:
apt:
packages:
- debootstrap
# vim: ts=2 sts=2 sw=2 et