File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ matrix:
14
14
- libstdc++6
15
15
- fonts-droid
16
16
before_script :
17
- - git clone https://github.com/flutter/flutter.git $HOME/flutter
17
+ - git clone --single-branch --branch stable https://github.com/flutter/flutter.git $HOME/flutter
18
18
- export PATH=$HOME/flutter/bin:$HOME/flutter/bin/cache/dart-sdk/bin:$PATH
19
19
- flutter doctor
20
20
script :
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class GoogleApiAvailability {
36
36
return GooglePlayServicesAvailability .notAvailableOnPlatform;
37
37
}
38
38
39
- final dynamic availability = await _methodChannel.invokeMethod < String > (
39
+ final dynamic availability = await _methodChannel.invokeMethod (
40
40
'checkPlayServicesAvailability' ,
41
41
< String , bool > {'showDialog' : showDialogIfNecessary});
42
42
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ unzip -qq gradle-4.1-bin.zip -d $HOME/gradle-4.1
20
20
export GRADLE_HOME=$HOME /gradle-4.1
21
21
export PATH=$GRADLE_HOME /bin:$PATH
22
22
gradle -v
23
- git clone https://github.com/flutter/flutter.git $HOME /flutter
23
+ git clone --single-branch --branch stable https://github.com/flutter/flutter.git $HOME /flutter
24
24
export PATH=$HOME /flutter/bin:$HOME /flutter/bin/cache/dart-sdk/bin:$PATH
25
25
flutter doctor
26
- flutter packages get
26
+ flutter packages get
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ brew install ideviceinstaller
5
5
brew install ios-deploy
6
6
pod repo update
7
7
gem update cocoapods
8
- git clone https://github.com/flutter/flutter.git $HOME /flutter
8
+ git clone --single-branch --branch stable https://github.com/flutter/flutter.git $HOME /flutter
9
9
export PATH=$HOME /flutter/bin:$HOME /flutter/bin/cache/dart-sdk/bin:$PATH
10
10
flutter doctor
You can’t perform that action at this time.
0 commit comments