.travis.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. sudo: required
  2. dist: bionic
  3. language: python
  4. python: '3.5'
  5. install: git clone https://github.com/QubesOS/qubes-builder ~/qubes-builder
  6. script: ~/qubes-builder/scripts/travis-build
  7. env:
  8. - DISTS_VM=fc29 USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
  9. - DISTS_VM=fc30 USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
  10. - DISTS_VM=stretch USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
  11. - DISTS_VM=buster USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
  12. - DISTS_VM=centos7 USE_QUBES_REPO_VERSION=4.1 USE_QUBES_REPO_TESTING=1
  13. jobs:
  14. include:
  15. - python: '3.6' # needs to match bionic
  16. virtualenv:
  17. system_site_packages: true
  18. install:
  19. - sudo apt-get -y install python3-gi gir1.2-gtk-3.0
  20. - pip install --quiet -r ci/requirements.txt
  21. env: TESTS_ONLY=1
  22. script:
  23. - ./run-tests
  24. - shellcheck -e SC1117 $(grep -l '^#!/bin/\(ba\)\?sh' $(git ls-files))
  25. after_success:
  26. - codecov
  27. - stage: deploy
  28. python: '3.5'
  29. env: DIST_DOM0=fc31 TESTS_ONLY=
  30. script: ~/qubes-builder/scripts/travis-deploy
  31. branches:
  32. except:
  33. - /.*_.*/
  34. - build