Saltstack Official Nginx Formula
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

73 Zeilen
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. - gem install bundler
  13. - bundle install
  14. # Make sure the instances listed below match up with
  15. # the `platforms` defined in `kitchen.yml`
  16. env:
  17. matrix:
  18. - INSTANCE: v2019-2-py3-debian-9
  19. - INSTANCE: v2019-2-py3-ubuntu-1804
  20. - INSTANCE: v2019-2-py2-centos-7
  21. - INSTANCE: v2019-2-py2-fedora-29
  22. - INSTANCE: v2018-3-py2-debian-8
  23. - INSTANCE: v2018-3-py2-ubuntu-1604
  24. - INSTANCE: v2018-3-py2-bootstrap-centos-6
  25. - INSTANCE: v2018-3-py2-forced-version-fedora-28
  26. - INSTANCE: v2018-3-py2-opensuse-423
  27. - INSTANCE: v2017-7-py2-debian-8
  28. - INSTANCE: v2017-7-py2-ubuntu-1604
  29. - INSTANCE: v2017-7-py2-bootstrap-centos-6
  30. script:
  31. - bundle exec kitchen verify ${INSTANCE}
  32. jobs:
  33. include:
  34. # Define the commitlint stage
  35. - stage: commitlint
  36. language: node_js
  37. node_js: lts/*
  38. before_install: skip
  39. script:
  40. - npm install @commitlint/config-conventional -D
  41. - npm install @commitlint/travis-cli -D
  42. - commitlint-travis
  43. # Define the release stage that runs semantic-release
  44. - stage: release
  45. language: node_js
  46. node_js: lts/*
  47. before_install: skip
  48. script:
  49. # Update `AUTHORS.md`
  50. - export MAINTAINER_TOKEN=${GH_TOKEN}
  51. - go get github.com/myii/maintainer
  52. - maintainer contributor
  53. # Install all dependencies required for `semantic-release`
  54. - npm install @semantic-release/changelog@3 -D
  55. - npm install @semantic-release/exec@3 -D
  56. - npm install @semantic-release/git@7 -D
  57. deploy:
  58. provider: script
  59. skip_cleanup: true
  60. script:
  61. # Run `semantic-release`
  62. - npx semantic-release@15