File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 11os :
22 - linux
3+ dist : focal # Use Ubuntu Focal (20.04) for a more up-to-date environment
34sudo : false
5+
46addons :
57 apt :
68 sources :
79 - ubuntu-toolchain-r-test
810 packages :
911 - libstdc++6
1012 - fonts-droid-fallback
13+
1114before_script :
12- - git clone https://github.com/flutter/flutter.git -b beta
13- - ./flutter/bin/flutter doctor
15+ # Clone the Flutter repository and ensure proper initialization
16+ - git clone https://github.com/flutter/flutter.git -b stable # Use stable instead of beta for reliability
17+ - export PATH="$PATH:`pwd`/flutter/bin" # Add Flutter to PATH
18+ - flutter --version # Verify Flutter installation
19+ - flutter precache # Precache necessary artifacts for the Flutter SDK
20+ - flutter doctor # Verify the Flutter environment
21+
1422script :
15- - ./flutter/bin/flutter test
23+ - flutter test # Run Flutter tests
24+
1625cache :
1726 directories :
18- - $HOME/.pub-cache
27+ - $HOME/.pub-cache # Cache the pub packages
28+ - flutter # Cache the Flutter SDK
You can’t perform that action at this time.
0 commit comments