From ac004ec654990b7bf483ba9bf49194f0aad3b63f Mon Sep 17 00:00:00 2001 From: Benjamin Gray Date: Fri, 13 Dec 2019 18:59:38 +1000 Subject: [PATCH 1/2] Expand travis.yml build platforms --- .travis.yml | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/.travis.yml b/.travis.yml index 461785a..366cca1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,34 +1,25 @@ -os: - - linux - language: node_js -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-4.8 - node_js: - "6" - "8" - "10" - "12" -install: - - export CXX=g++-4.8 - - $CXX --version - - npm i - -notifications: - email: - on_success: never - on_failure: change +os: + - linux + - mac + - windows -git: - depth: 10 +env: + global: + - npm_config_jobs=max branches: only: - master + +notifications: + email: + on_success: never + on_failure: change From b4327a24b6d9fd85658b035292eed087be761c71 Mon Sep 17 00:00:00 2001 From: Benjamin Gray Date: Mon, 16 Dec 2019 20:54:04 +1000 Subject: [PATCH 2/2] Add back git depth Git depth limits the number of commits the cloned repo includes, improving job time. Can't make it too low (see https://docs.travis-ci.com/user/customizing-the-build/#git-clone-depth) --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 366cca1..89e9074 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,9 @@ env: global: - npm_config_jobs=max +git: + depth: 10 + branches: only: - master