From 58ddc906a75258ef1ac96215bcf7a86cb8ed37f6 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 29 Mar 2018 01:26:16 +1100 Subject: .travis.yml: take advantage of newer travis features --- .travis.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6e78b35..1a05b82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,19 @@ -language: node +sudo: false +dist: trusty +language: node_js cache: yarn -before_install: - - nvm install node - - export NODE=$(nvm which node) - - export NPM=${NODE%node}npm - - $NPM install -g yarn +matrix: + include: + - node_js: 8 + - node_js: node -install: - - yarn +before_install: + - 'if [[ `npm -v` != 5* ]]; then npm i -g npm@^5.0.0; fi' + - nvm --version + - node --version + - npm --version script: - yarn lint -- cgit v1.2.3-70-g09d2