hedgedoc/.travis.yml
David Mehren 69d1dfe6d8
Use Node 10 for json-lint test
Signed-off-by: David Mehren <git@herrmehren.de>
Co-authored-by: Yannick Bungers <git@innay.de>
2020-11-10 22:56:00 +01:00

41 lines
749 B
YAML

language: node_js
dist: xenial
cache: yarn
jobs:
include:
- stage: Static Tests
name: eslint
node_js:
- 10
script:
- yarn run eslint
- name: markdownlint
node_js:
- 10
script:
- yarn run markdownlint
- name: ShellCheck
script:
- shellcheck bin/heroku bin/setup
language: generic
- name: json-lint
node_js:
- 10
addons:
apt:
packages:
- jq
script:
- yarn run jsonlint
- stage: Dynamic Tests
name: Node.js 10
node_js:
- 10
script:
- yarn run mocha-suite
- name: Node.js 12
node_js:
- 12
script:
- yarn run mocha-suite