.travis.yml 815 B

12345678910111213141516171819202122232425262728293031323334353637
  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 -r ci/requirements.txt
  10. - git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-builder ~/qubes-builder
  11. script:
  12. - test -z "$TESTS_ONLY" || PYTHONPATH=test-packages pylint --rcfile=ci/pylintrc qubesmgmt
  13. - test -z "$TESTS_ONLY" || ./run-tests
  14. - test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
  15. env:
  16. - TESTS_ONLY=1
  17. matrix:
  18. include:
  19. - env: DIST_DOM0=fc23 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
  20. python: 2.7
  21. after_success:
  22. # - ~/qubes-builder/scripts/travis-deploy
  23. - codecov
  24. # don't build tags which are meant for code signing only
  25. branches:
  26. except:
  27. - /.*_.*/
  28. addons:
  29. apt:
  30. packages:
  31. - debootstrap
  32. # vim: ts=2 sts=2 sw=2 et