Mirror of HackMD with some custom changes
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.

41 lines
740B

  1. language: node_js
  2. dist: xenial
  3. cache: yarn
  4. jobs:
  5. include:
  6. - stage: Static Tests
  7. name: eslint
  8. node_js:
  9. - 10
  10. script:
  11. - yarn run eslint
  12. - name: ShellCheck
  13. script:
  14. - shellcheck bin/heroku bin/setup
  15. language: generic
  16. - name: json-lint
  17. addons:
  18. apt:
  19. packages:
  20. - jq
  21. script:
  22. - yarn run jsonlint
  23. language: generic
  24. - stage: Dynamic Tests
  25. name: Node.js 8
  26. node_js:
  27. - 8
  28. script:
  29. - yarn run mocha-suite
  30. - name: Node.js 10
  31. node_js:
  32. - 10
  33. script:
  34. - yarn run mocha-suite
  35. - name: Node.js 12
  36. node_js:
  37. - 12
  38. script:
  39. - yarn run mocha-suite