From 1fa6f428947e04b83c2fbb45751f9319bec5d560 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 9 Apr 2018 18:56:36 -0700 Subject: [PATCH 1/2] Use full VMs on Travis Hoping to avoid timeouts --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index c54e2a795..c96fba7ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ # Created with https://github.com/dart-lang/mono_repo language: dart +# Gives more resources on Travis (8GB Ram, 2CPUs). +# Do not remove without verifying w/ Travis. +sudo: required + jobs: include: - stage: analyzer_and_format From d5dbd24ea423ad03813ed95ceacd5818e07b57bc Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Mon, 9 Apr 2018 20:21:25 -0700 Subject: [PATCH 2/2] Cache example/.dart_tool directory --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index c96fba7ef..8c12e2061 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,3 +39,4 @@ branches: cache: directories: - $HOME/.pub-cache + - example/.dart_tool