Travis: Clone flutter in a tmp directory

This way when we run flutter analyze, we do not get a huge dump, because
it is analyzing the flutter source code.
This commit is contained in:
Vishesh Handa
2019-01-18 17:38:07 +01:00
parent 6dcd8ba48c
commit 93d1ddd684

View File

@ -11,12 +11,11 @@ addons:
packages:
- lib32stdc++6
install:
- cd /tmp/
- git clone https://github.com/flutter/flutter.git -b beta
- ./flutter/bin/flutter doctor
script:
- pwd
- ls
- ./flutter/bin/flutter $COMMAND
- /tmp/flutter/bin/flutter $COMMAND
cache:
directories:
- $HOME/.pub-cache