.travis.yml 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. sudo: required
  2. dist: xenial
  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=fc28 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
  9. - DISTS_VM=fc29 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
  10. - DISTS_VM=fc30 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
  11. - DISTS_VM=jessie USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
  12. - DISTS_VM=stretch USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
  13. - DISTS_VM=buster USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
  14. - DISTS_VM=centos7 USE_QUBES_REPO_VERSION=4.0 USE_QUBES_REPO_TESTING=1
  15. jobs:
  16. include:
  17. - python: '3.5'
  18. install: pip install --quiet -r ci/requirements.txt
  19. env: TESTS_ONLY=1
  20. script:
  21. - ./run-tests
  22. - shellcheck -e SC1117 $(grep -l '^#!/bin/\(ba\)\?sh' $(git ls-files))
  23. after_success:
  24. - codecov
  25. - stage: deploy
  26. python: '3.5'
  27. env: DIST_DOM0=fc25 TESTS_ONLY=
  28. script: ~/qubes-builder/scripts/travis-deploy
  29. branches:
  30. except:
  31. - /.*_.*/
  32. - build