Saltstack Official Syslog-NG 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.

.travis.yml 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. stages:
  5. - commitlint
  6. - name: release
  7. if: branch = master AND type != pull_request
  8. jobs:
  9. include:
  10. # Define the commitlint stage
  11. - stage: commitlint
  12. language: node_js
  13. node_js: lts/*
  14. before_install: skip
  15. script:
  16. - npm install @commitlint/config-conventional -D
  17. - npm install @commitlint/travis-cli -D
  18. - commitlint-travis
  19. # Define the release stage that runs semantic-release
  20. - stage: release
  21. language: node_js
  22. node_js: lts/*
  23. before_install: skip
  24. script:
  25. # Update `AUTHORS.md`
  26. - export MAINTAINER_TOKEN=${GH_TOKEN}
  27. - go get github.com/myii/maintainer
  28. - maintainer contributor
  29. # Install all dependencies required for `semantic-release`
  30. - npm install @semantic-release/changelog@3 -D
  31. - npm install @semantic-release/exec@3 -D
  32. - npm install @semantic-release/git@7 -D
  33. deploy:
  34. provider: script
  35. skip_cleanup: true
  36. script:
  37. # Run `semantic-release`
  38. - npx semantic-release@15