Saltstack Official Nginx Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

преди 6 години
преди 6 години
преди 6 години
преди 6 години
преди 6 години
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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 bundle
  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: default-debian-9
  19. - INSTANCE: default-debian-8
  20. - INSTANCE: default-ubuntu-1804
  21. - INSTANCE: default-ubuntu-1604
  22. - INSTANCE: default-centos-7
  23. # - INSTANCE: default-centos-6
  24. - INSTANCE: default-fedora
  25. - INSTANCE: default-opensuse-leap-salt-minion
  26. script:
  27. - bundle exec kitchen verify ${INSTANCE}
  28. jobs:
  29. include:
  30. # Define the commitlint stage
  31. - stage: commitlint
  32. language: node_js
  33. node_js: lts/*
  34. before_install: skip
  35. script:
  36. - npm install @commitlint/config-conventional -D
  37. - npm install @commitlint/travis-cli -D
  38. - commitlint-travis
  39. # Define the release stage that runs semantic-release
  40. - stage: release
  41. language: node_js
  42. node_js: lts/*
  43. before_install: skip
  44. script:
  45. # Update `AUTHORS.md`
  46. - export MAINTAINER_TOKEN=${GH_TOKEN}
  47. - go get github.com/myii/maintainer
  48. - maintainer contributor
  49. # Install all dependencies required for `semantic-release`
  50. - npm install @semantic-release/changelog@3 -D
  51. - npm install @semantic-release/exec@3 -D
  52. - npm install @semantic-release/git@7 -D
  53. deploy:
  54. provider: script
  55. skip_cleanup: true
  56. script:
  57. # Run `semantic-release`
  58. - npx semantic-release@15