Saltstack Official Nginx Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

68 líneas
1.8KB

  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. before_install:
  12. - bundle install
  13. # Make sure the instances listed below match up with
  14. # the `platforms` defined in `kitchen.yml`
  15. env:
  16. matrix:
  17. - INSTANCE: default-debian-9-2019-2-py3
  18. - INSTANCE: default-ubuntu-1804-2019-2-py3
  19. - INSTANCE: default-centos-7-2019-2-py2
  20. - INSTANCE: default-fedora-29-2019-2-py2
  21. - INSTANCE: default-opensuse-423-2018-3-py2
  22. - INSTANCE: default-debian-8-2018-3-py2
  23. - INSTANCE: default-ubuntu-1604-2018-3-py2
  24. - INSTANCE: default-fedora-28-2018-3-py2
  25. - INSTANCE: default-debian-8-2017-7-py2
  26. - INSTANCE: default-ubuntu-1604-2017-7-py2
  27. script:
  28. - bundle exec 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