.travis.yml 987 B

123456789101112131415161718192021222324252627282930313233
  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.5'
  16. install: pip install --quiet -r ci/requirements.txt
  17. env: TESTS_ONLY=1
  18. script:
  19. - ./run-tests
  20. - shellcheck -e SC1117 $(grep -l '^#!/bin/\(ba\)\?sh' $(git ls-files))
  21. after_success:
  22. - codecov
  23. - stage: deploy
  24. python: '3.5'
  25. env: DIST_DOM0=fc31 TESTS_ONLY=
  26. script: ~/qubes-builder/scripts/travis-deploy
  27. branches:
  28. except:
  29. - /.*_.*/
  30. - build