.travis.yml 859 B

123456789101112131415161718192021222324252627282930313233343536
  1. sudo: required
  2. dist: xenial
  3. language: python
  4. python:
  5. - '3.5'
  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 --rcfile=ci/pylintrc qubes
  16. - ./run-tests --no-syslog
  17. - ~/qubes-builder/scripts/travis-build
  18. env:
  19. - DIST_DOM0=fc25 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
  20. - DIST_DOM0=fc29 USE_QUBES_REPO_VERSION=4.0 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