mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-28 18:03:14 +08:00
Travis: Cache the flutter repo
This commit is contained in:
@ -11,12 +11,13 @@ addons:
|
|||||||
packages:
|
packages:
|
||||||
- lib32stdc++6
|
- lib32stdc++6
|
||||||
install:
|
install:
|
||||||
- cd /tmp/
|
- cd $HOME
|
||||||
- git clone https://github.com/flutter/flutter.git -b beta
|
- git clone https://github.com/flutter/flutter.git -b beta
|
||||||
- ./flutter/bin/flutter doctor
|
- ./flutter/bin/flutter doctor
|
||||||
- cd -
|
- cd -
|
||||||
script:
|
script:
|
||||||
- /tmp/flutter/bin/flutter $COMMAND
|
- $HOME/flutter/bin/flutter $COMMAND
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.pub-cache
|
- $HOME/.pub-cache
|
||||||
|
- $HOME/flutter
|
||||||
|
Reference in New Issue
Block a user