Saltstack Official Chrony Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

.travis.yml 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. stages:
  2. - test
  3. - commitlint
  4. - name: release
  5. if: branch = master AND type != pull_request
  6. sudo: required
  7. cache: bundler
  8. language: ruby
  9. services:
  10. - docker
  11. # Make sure the instances listed below match up with
  12. # the `platforms` defined in `kitchen.yml`
  13. env:
  14. matrix:
  15. - INSTANCE: default-debian-9-develop-py3
  16. # - INSTANCE: default-ubuntu-1804-develop-py3
  17. # - INSTANCE: default-centos-7-develop-py3
  18. # - INSTANCE: default-fedora-29-develop-py3
  19. # - INSTANCE: default-opensuse-leap-15-develop-py3
  20. # - INSTANCE: default-debian-9-2019-2-py3
  21. - INSTANCE: default-ubuntu-1804-2019-2-py3
  22. - INSTANCE: default-centos-7-2019-2-py3
  23. # - INSTANCE: default-fedora-29-2019-2-py3
  24. # - INSTANCE: default-opensuse-leap-15-2019-2-py3
  25. # - INSTANCE: default-debian-9-2018-3-py2
  26. # - INSTANCE: default-ubuntu-1604-2018-3-py2
  27. # - INSTANCE: default-centos-7-2018-3-py2
  28. # - INSTANCE: default-fedora-29-2018-3-py2
  29. # TODO: Use this when fixed instead of `opensuse-leap-42`
  30. # Ref: https://github.com/netmanagers/salt-image-builder/issues/2
  31. # - INSTANCE: default-opensuse-leap-15-2018-3-py2
  32. - INSTANCE: default-opensuse-leap-42-2018-3-py2
  33. # - INSTANCE: default-debian-8-2017-7-py2
  34. # - INSTANCE: default-ubuntu-1604-2017-7-py2
  35. # TODO: Enable after improving the formula to work with other than `systemd`
  36. - INSTANCE: default-centos-6-2017-7-py2
  37. # - INSTANCE: default-fedora-28-2017-7-py2
  38. # - INSTANCE: default-opensuse-leap-42-2017-7-py2
  39. script:
  40. - bundle exec kitchen verify ${INSTANCE}
  41. jobs:
  42. include:
  43. # Define the commitlint stage
  44. - stage: commitlint
  45. language: node_js
  46. node_js: lts/*
  47. before_install: skip
  48. script:
  49. - npm install @commitlint/config-conventional -D
  50. - npm install @commitlint/travis-cli -D
  51. - commitlint-travis
  52. # Define the release stage that runs semantic-release
  53. - stage: release
  54. language: node_js
  55. node_js: lts/*
  56. before_install: skip
  57. script:
  58. # Update `AUTHORS.md`
  59. - export MAINTAINER_TOKEN=${GH_TOKEN}
  60. - go get github.com/myii/maintainer
  61. - maintainer contributor
  62. # Install all dependencies required for `semantic-release`
  63. - npm install @semantic-release/changelog@3 -D
  64. - npm install @semantic-release/exec@3 -D
  65. - npm install @semantic-release/git@7 -D
  66. deploy:
  67. provider: script
  68. skip_cleanup: true
  69. script:
  70. # Run `semantic-release`
  71. - npx semantic-release@15