.travis.yml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. sudo: required
  2. dist: xenial
  3. language: python
  4. python:
  5. - '2.7'
  6. - '3.5'
  7. - '3.6'
  8. - '3.7'
  9. install:
  10. - pip install --quiet docutils
  11. - pip install --quiet -r ci/requirements.txt
  12. - git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-builder ~/qubes-builder
  13. script:
  14. - test -z "$TESTS_ONLY" || python setup.py build
  15. - test -z "$TESTS_ONLY" || { cd build/lib; PYTHONPATH=../../test-packages pylint --rcfile=../../.pylintrc qubesadmin; }
  16. - test -z "$TESTS_ONLY" || { cd build/lib; ROOTDIR=../.. ../../run-tests; }
  17. - test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
  18. env:
  19. - TESTS_ONLY=1 ENABLE_SLOW_TESTS=1
  20. after_success:
  21. - codecov
  22. jobs:
  23. include:
  24. - env: DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
  25. python: '3.5'
  26. - env: DISTS_VM=fc29 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
  27. python: '3.5'
  28. - env: DISTS_VM=fc30 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
  29. python: '3.5'
  30. - env: DISTS_VM=stretch USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
  31. python: '3.5'
  32. - env: DISTS_VM=buster USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1 TESTS_ONLY=
  33. python: '3.5'
  34. - stage: deploy
  35. python: '3.5'
  36. env: DIST_DOM0=fc25 TESTS_ONLY=
  37. script: ~/qubes-builder/scripts/travis-deploy
  38. # don't build tags which are meant for code signing only
  39. branches:
  40. except:
  41. - /.*_.*/
  42. addons:
  43. apt:
  44. packages:
  45. - debootstrap
  46. # vim: ts=2 sts=2 sw=2 et