From 669083c48abad398488eef2bdb38d126f30836b6 Mon Sep 17 00:00:00 2001 From: Julien TASSIN Date: Sun, 14 Jun 2020 23:35:03 +0200 Subject: [PATCH] test: better travis matrix --- .travis.yml | 45 ++++++++++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1cbd978f..e88929fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,33 @@ -os: - - linux - - osx language: node_js -node_js: - - "10" - - "12" - - "14" -after_success: - - npm run lint - - npm build - - npm run test:coverage - - npm run release:fake - - npm run commit:fake +jobs: + include: + - name: "Dev tools" + node_js: "14" + os: osx + script: + - npm run lint + - npm build + - npm run release:fake + - npm run commit:fake + - name: "puppeteer 2" + node_js: + - "12" + - "14" + os: linux + script: + - npm i puppeteer@2 -D + - npm run test:coverage + - name: "puppeteer 3 - node 12" + node_js: + - "12" + os: linux + script: + - npm i puppeteer@3 -D + - npm run test:coverage + - name: "puppeteer 3 - node 14" + node_js: + - "14" + os: linux + script: + - npm i puppeteer@3 -D + - npm run test:coverage \ No newline at end of file