.travis.yml 918 B

123456789101112131415161718192021222324252627282930313233343536
  1. sudo: required
  2. dist: bionic
  3. language: python
  4. python:
  5. - '3.6'
  6. virtualenv:
  7. system_site_packages: true
  8. services:
  9. - xvfb
  10. install:
  11. - sudo apt-get -y install python3-gi gir1.2-gtk-3.0
  12. - pip install --quiet -r ci/requirements.txt
  13. - git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-builder ~/qubes-builder
  14. - git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-core-qrexec ~/qubes-core-qrexec
  15. script:
  16. - PYTHONPATH=test-packages:~/qubes-core-qrexec pylint qubes
  17. - PYTHONPATH=test-packages:~/qubes-core-qrexec ./run-tests
  18. - ~/qubes-builder/scripts/travis-build
  19. env:
  20. - DIST_DOM0=fc31 USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
  21. after_success:
  22. - codecov -F unittests
  23. - ~/qubes-builder/scripts/travis-deploy
  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