.travis.yml 935 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. sudo: required
  2. dist: trusty
  3. language: python
  4. python:
  5. - '2.7'
  6. - '3.4'
  7. - '3.5'
  8. install:
  9. - pip install --quiet -r ci/requirements.txt
  10. - git clone https://github.com/"${TRAVIS_REPO_SLUG%%/*}"/qubes-builder ~/qubes-builder
  11. script:
  12. - test -z "$TESTS_ONLY" || python setup.py build
  13. - test -z "$TESTS_ONLY" || { cd build/lib; PYTHONPATH=../../test-packages pylint --rcfile=../../ci/pylintrc qubesadmin; }
  14. - test -z "$TESTS_ONLY" || { cd build/lib; ROOTDIR=../.. ../../run-tests; }
  15. - test -n "$TESTS_ONLY" || ~/qubes-builder/scripts/travis-build
  16. env:
  17. - TESTS_ONLY=1
  18. matrix:
  19. include:
  20. - env: DIST_DOM0=fc23 USE_QUBES_REPO_VERSION=3.2 USE_QUBES_REPO_TESTING=1
  21. python: 2.7
  22. after_success:
  23. # - ~/qubes-builder/scripts/travis-deploy
  24. - codecov
  25. # don't build tags which are meant for code signing only
  26. branches:
  27. except:
  28. - /.*_.*/
  29. addons:
  30. apt:
  31. packages:
  32. - debootstrap
  33. # vim: ts=2 sts=2 sw=2 et