updating travis config: readable job names, more recent distro
Signed-off-by: Claudius <opensource@amenthes.de>
This commit is contained in:
parent
806ebe6e1a
commit
aa57b76a4f
1 changed files with 17 additions and 7 deletions
24
.travis.yml
24
.travis.yml
|
@ -1,5 +1,5 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
dist: trusty
|
dist: xenial
|
||||||
cache: yarn
|
cache: yarn
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
@ -8,33 +8,43 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- env: task=npm-test
|
- name: Node.js 8
|
||||||
node_js:
|
node_js:
|
||||||
- 8
|
- 8
|
||||||
before_install:
|
before_install:
|
||||||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
|
||||||
- export PATH="$HOME/.yarn/bin:$PATH"
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
||||||
- env: task=npm-test
|
script:
|
||||||
|
- yarn run mocha-suite
|
||||||
|
- name: Node.js 10
|
||||||
node_js:
|
node_js:
|
||||||
- 10
|
- 10
|
||||||
before_install:
|
before_install:
|
||||||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
|
||||||
- export PATH="$HOME/.yarn/bin:$PATH"
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
||||||
- env: task=npm-test
|
script:
|
||||||
|
- yarn run mocha-suite
|
||||||
|
- name: Node.js 12
|
||||||
node_js:
|
node_js:
|
||||||
- 12
|
- 12
|
||||||
before_install:
|
before_install:
|
||||||
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
|
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
|
||||||
- export PATH="$HOME/.yarn/bin:$PATH"
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
||||||
- env: task=ShellCheck
|
script:
|
||||||
|
- yarn run mocha-suite
|
||||||
|
- name: eslint
|
||||||
|
script:
|
||||||
|
- yarn run eslint
|
||||||
|
language: generic
|
||||||
|
- name: ShellCheck
|
||||||
script:
|
script:
|
||||||
- shellcheck bin/heroku bin/setup
|
- shellcheck bin/heroku bin/setup
|
||||||
language: generic
|
language: generic
|
||||||
- env: task=json-lint
|
- name: json-lint
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- jq
|
- jq
|
||||||
script:
|
script:
|
||||||
- npm run jsonlint
|
- yarn run jsonlint
|
||||||
language: generic
|
language: generic
|
||||||
|
|
Loading…
Add table
Reference in a new issue