From 7ad58cee7e2dc44a7af00a0e7ef1cefe450e5e69 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Fri, 13 Dec 2019 08:04:01 +0000 Subject: [PATCH 1/3] Make CI slow by validating against master definitely typed --- .travis.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8809142b..91745047 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,19 @@ branches: install: - npm ci + - git clone https://github.com/DefinitelyTyped/DefinitelyTyped ../DefinitelyTyped + +script: + - npm test + + - npm run build + - npm run clean + - npm run parse + - npm run check + - npm run calculate-versions + - npm run generate + - npm run index + git: depth: 1 From 9b1e32260aa1a618c2fb3b3209ee50d3c7c7d112 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Fri, 13 Dec 2019 08:34:11 +0000 Subject: [PATCH 2/3] Cache the cache --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 91745047..e95b651d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,10 @@ language: node_js node_js: - 'node' + cache: + directories: + - cache/ + sudo: false branches: From b20744e8d4e05729fa17d7691b0dc314c99e2821 Mon Sep 17 00:00:00 2001 From: Orta Therox Date: Fri, 13 Dec 2019 11:11:45 +0000 Subject: [PATCH 3/3] Make it not do the full npm lookup business --- .travis.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index e95b651d..8e677a56 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,9 @@ language: node_js node_js: - 'node' - cache: - directories: - - cache/ +cache: + directories: + - cache/ sudo: false @@ -18,16 +18,11 @@ install: - git clone https://github.com/DefinitelyTyped/DefinitelyTyped ../DefinitelyTyped script: - - npm test - + - npm tes - npm run build - npm run clean - npm run parse - npm run check - - npm run calculate-versions - - npm run generate - - npm run index - git: depth: 1