Saltstack Official Apt 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.

66 lines
1.7KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. stages:
  5. - test
  6. - commitlint
  7. - name: release
  8. if: branch = master AND type != pull_request
  9. sudo: required
  10. cache: bundler
  11. language: ruby
  12. dist: xenial
  13. services:
  14. - docker
  15. # Make sure the instances listed below match up with
  16. # the `platforms` defined in `kitchen.yml`
  17. env:
  18. matrix:
  19. - INSTANCE: repositories-debian-9-develop-py3
  20. - INSTANCE: preferences-debian-9-develop-py3
  21. # - INSTANCE: repositories-ubuntu-1804-develop-py3
  22. # - INSTANCE: preferences-ubuntu-1804-develop-py3
  23. - INSTANCE: repositories-debian-9-2019-2-py3
  24. - INSTANCE: preferences-debian-9-2019-2-py3
  25. - INSTANCE: repositories-ubuntu-1804-2019-2-py3
  26. - INSTANCE: preferences-ubuntu-1804-2019-2-py3
  27. script:
  28. - bin/kitchen verify ${INSTANCE}
  29. jobs:
  30. include:
  31. # Define the commitlint stage
  32. - stage: commitlint
  33. language: node_js
  34. node_js: lts/*
  35. before_install: skip
  36. script:
  37. - npm install @commitlint/config-conventional -D
  38. - npm install @commitlint/travis-cli -D
  39. - commitlint-travis
  40. # Define the release stage that runs semantic-release
  41. - stage: release
  42. language: node_js
  43. node_js: lts/*
  44. before_install: skip
  45. script:
  46. # Update `AUTHORS.md`
  47. - export MAINTAINER_TOKEN=${GH_TOKEN}
  48. - go get github.com/myii/maintainer
  49. - maintainer contributor
  50. # Install all dependencies required for `semantic-release`
  51. - npm install @semantic-release/changelog@3 -D
  52. - npm install @semantic-release/exec@3 -D
  53. - npm install @semantic-release/git@7 -D
  54. deploy:
  55. provider: script
  56. skip_cleanup: true
  57. script:
  58. # Run `semantic-release`
  59. - npx semantic-release@15