.travis.yml 1.5 KB

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