.travis.yml 756 B

1234567891011121314151617181920212223242526272829303132333435
  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. script:
  15. - PYTHONPATH=test-packages pylint qubes
  16. - ./run-tests
  17. - ~/qubes-builder/scripts/travis-build
  18. env:
  19. - DIST_DOM0=fc31 USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
  20. after_success:
  21. - codecov -F unittests
  22. - ~/qubes-builder/scripts/travis-deploy
  23. # don't build tags which are meant for code signing only
  24. branches:
  25. except:
  26. - /.*_.*/
  27. addons:
  28. apt:
  29. packages:
  30. - debootstrap
  31. # vim: ts=2 sts=2 sw=2 et