From aa57b76a4fd291e67d75400e568266c35576ef94 Mon Sep 17 00:00:00 2001 From: Claudius Date: Mon, 13 May 2019 13:27:17 +0200 Subject: [PATCH] updating travis config: readable job names, more recent distro Signed-off-by: Claudius --- .travis.yml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index a5c50dee0..393fba284 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