summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudius2019-05-13 13:27:17 +0200
committerClaudius2019-05-13 19:37:22 +0200
commitaa57b76a4fd291e67d75400e568266c35576ef94 (patch)
treede668230ae52aa9b4cb53efb30428c19b1b0205c
parent806ebe6e1abea47583ec57b6811b67958a2b3369 (diff)
updating travis config: readable job names, more recent distro
Signed-off-by: Claudius <opensource@amenthes.de>
-rw-r--r--.travis.yml24
1 files changed, 17 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index a5c50dee..393fba28 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,5 +1,5 @@
language: node_js
-dist: trusty
+dist: xenial
cache: yarn
env:
global:
@@ -8,33 +8,43 @@ env:
jobs:
include:
- - env: task=npm-test
+ - name: Node.js 8
node_js:
- 8
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
- export PATH="$HOME/.yarn/bin:$PATH"
- - env: task=npm-test
+ script:
+ - yarn run mocha-suite
+ - name: Node.js 10
node_js:
- 10
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
- export PATH="$HOME/.yarn/bin:$PATH"
- - env: task=npm-test
+ script:
+ - yarn run mocha-suite
+ - name: Node.js 12
node_js:
- 12
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version "$YARN_VERSION"
- 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:
- shellcheck bin/heroku bin/setup
language: generic
- - env: task=json-lint
+ - name: json-lint
addons:
apt:
packages:
- jq
script:
- - npm run jsonlint
+ - yarn run jsonlint
language: generic