From 6c181e72140b5d37e5fe504dd48e8eee886f0d97 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 7 Aug 2019 00:41:52 +0300 Subject: [PATCH] Improve CI configs. (#212) --- .travis.yml | 13 +++++++++---- appveyor.yml | 10 +++++----- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index f09222f..28f2dfb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,11 @@ -sudo: false language: node_js + +git: + depth: 5 + node_js: - - '12' - - '10' - - '8' + - "8" + - "10" + - "12" + +cache: npm diff --git a/appveyor.yml b/appveyor.yml index 40d93ed..7fb42f2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,13 +1,13 @@ -version: '{build}' +version: "{build}" shallow_clone: true environment: PLATFORM: x64 matrix: - - NODEJS_VERSION: '12' - - NODEJS_VERSION: '10' - - NODEJS_VERSION: '8' + - NODEJS_VERSION: "8" + - NODEJS_VERSION: "10" + - NODEJS_VERSION: "12" install: - ps: Install-Product node $env:NODEJS_VERSION $env:PLATFORM @@ -24,4 +24,4 @@ matrix: fast_finish: true cache: - - 'node_modules -> appveyor.yml,package.json,package-lock.json' + - '%APPDATA%\npm-cache\ -> appveyor.yml,package.json,package-lock.json'