mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-17 14:34:33 +00:00
Update Travis CI config for NestJS
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
81126bb864
commit
196e7dfc58
1 changed files with 13 additions and 20 deletions
33
.travis.yml
33
.travis.yml
|
@ -2,6 +2,18 @@ language: node_js
|
||||||
dist: xenial
|
dist: xenial
|
||||||
cache: yarn
|
cache: yarn
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- Static Tests
|
||||||
|
- test
|
||||||
|
|
||||||
|
node_js:
|
||||||
|
- 10
|
||||||
|
- 12
|
||||||
|
env:
|
||||||
|
- TEST_SUITE=test
|
||||||
|
- TEST_SUITE=test:e2e
|
||||||
|
script: "yarn run $TEST_SUITE"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- stage: Static Tests
|
- stage: Static Tests
|
||||||
|
@ -9,27 +21,8 @@ jobs:
|
||||||
node_js:
|
node_js:
|
||||||
- 10
|
- 10
|
||||||
script:
|
script:
|
||||||
- yarn run eslint
|
- yarn run lint
|
||||||
- name: ShellCheck
|
- name: ShellCheck
|
||||||
script:
|
script:
|
||||||
- shellcheck bin/heroku bin/setup
|
- shellcheck bin/heroku bin/setup
|
||||||
language: generic
|
language: generic
|
||||||
- name: json-lint
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- jq
|
|
||||||
script:
|
|
||||||
- yarn run jsonlint
|
|
||||||
language: generic
|
|
||||||
- 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
|
|
||||||
|
|
Loading…
Reference in a new issue