Skip to content

Commit 534960e

Browse files
committed
fix git clone
1 parent 777616b commit 534960e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ jobs:
2727
- unzip -qq gradle-3.5-bin.zip
2828
- export GRADLE_HOME=$PWD/gradle-3.5
2929
- export PATH=$GRADLE_HOME/bin:$PATH
30-
- git clone https://github.com/flutter/flutter.git --depth 1
31-
- git checkout 1.22.6
30+
- git clone https://github.com/flutter/flutter.git --depth 1 --branch 1.22.6
3231
- export PATH=./flutter/bin:$PATH
3332
- flutter doctor
3433
- yes | sdkmanager "platforms;android-29"
@@ -45,8 +44,7 @@ jobs:
4544
- brew install libimobiledevice
4645
- brew install ideviceinstaller
4746
- brew install ios-deploy
48-
- git clone https://github.com/flutter/flutter.git --depth 1
49-
- git checkout 1.22.6
47+
- git clone https://github.com/flutter/flutter.git --depth 1 --branch 1.22.6
5048
- export PATH=./flutter/bin:$PATH
5149
- flutter doctor
5250
script:

0 commit comments

Comments
 (0)