Saltstack Official UFW Formula
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

55 lines
1.3KB

  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. env:
  12. matrix:
  13. - DISTRIB=debian:stretch/9
  14. - DISTRIB=ubuntu:xenial/16.04
  15. - DISTRIB=ubuntu:bionic/18.04
  16. script:
  17. - bundle exec kitchen test
  18. jobs:
  19. include:
  20. # Define the commitlint stage
  21. - stage: commitlint
  22. language: node_js
  23. node_js: lts/*
  24. before_install: skip
  25. script:
  26. - npm install @commitlint/config-conventional -D
  27. - npm install @commitlint/travis-cli -D
  28. - commitlint-travis
  29. # Define the release stage that runs semantic-release
  30. - stage: release
  31. language: node_js
  32. node_js: lts/*
  33. before_install: skip
  34. script:
  35. # Update `AUTHORS.md`
  36. - export MAINTAINER_TOKEN=${GH_TOKEN}
  37. - go get github.com/myii/maintainer
  38. - maintainer contributor
  39. # Install all dependencies required for `semantic-release`
  40. - npm install @semantic-release/changelog@3 -D
  41. - npm install @semantic-release/exec@3 -D
  42. - npm install @semantic-release/git@7 -D
  43. deploy:
  44. provider: script
  45. skip_cleanup: true
  46. script:
  47. # Run `semantic-release`
  48. - npx semantic-release@15