From 2a657c51fd126500fb87b9e55bb4cea9e13de52c Mon Sep 17 00:00:00 2001 From: salihcan Date: Mon, 23 Nov 2020 11:35:51 +0300 Subject: [PATCH 1/4] update flutter versions --- .travis.yml | 4 ++-- lib/resources/test_spec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b044072..bcf8cf7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ env: global: - FLUTTER_CHANNEL=stable - - FLUTTER_VERSION=1.12.13+hotfix.8-${FLUTTER_CHANNEL} + - FLUTTER_VERSION=1.22.4-${FLUTTER_CHANNEL} - ANDROID_SDK_TOOLS=sdk-tools-darwin-4333796.zip # older sdkmanager # - ANDROID_SDK_TOOLS=commandlinetools-mac-6200805_latest.zip # latest sdkmanager - ANDROID_PLATFORM_SDK=28 @@ -78,7 +78,7 @@ jobs: # - brew link --overwrite cocoapods # install pre-compiled flutter - - wget --quiet --output-document=flutter.zip https://storage.googleapis.com/flutter_infra/releases/${FLUTTER_CHANNEL}/macos/flutter_macos_v${FLUTTER_VERSION}.zip && unzip -qq flutter.zip > /dev/null && rm flutter.zip + - wget --quiet --output-document=flutter.zip https://storage.googleapis.com/flutter_infra/releases/${FLUTTER_CHANNEL}/macos/flutter_macos_${FLUTTER_VERSION}.zip && unzip -qq flutter.zip > /dev/null && rm flutter.zip - export PATH="$PATH":"$HOME/.pub-cache/bin" - export PATH=$PWD/flutter/bin:$PWD/flutter/bin/cache/dart-sdk/bin:$PATH - flutter doctor -v diff --git a/lib/resources/test_spec.yaml b/lib/resources/test_spec.yaml index d2485b2..a777ae2 100644 --- a/lib/resources/test_spec.yaml +++ b/lib/resources/test_spec.yaml @@ -29,7 +29,7 @@ phases: # install flutter - echo "Install flutter" - - FLUTTER_VERSION='v1.12.13+hotfix.8-stable' + - FLUTTER_VERSION='1.22.4-stable' - >- if [ $DEVICEFARM_DEVICE_PLATFORM_NAME = "Android" ]; then From 1c32038c193e5ea13eabd87650af8b61de14fb22 Mon Sep 17 00:00:00 2001 From: salihcan Date: Mon, 23 Nov 2020 15:02:19 +0300 Subject: [PATCH 2/4] driver test --- lib/resources/test_spec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resources/test_spec.yaml b/lib/resources/test_spec.yaml index a777ae2..a75826b 100644 --- a/lib/resources/test_spec.yaml +++ b/lib/resources/test_spec.yaml @@ -99,7 +99,7 @@ phases: - >- if [ $DEVICEFARM_DEVICE_PLATFORM_NAME = "Android" ]; then - ./script/test_android.sh --run-tests "$TESTS" + ./script/test_android.sh --run-driver "$MAIN" track_test_phase_status fi From 93233f6fbba483260bc0aee7bdf54f230b15097d Mon Sep 17 00:00:00 2001 From: salihcan Date: Mon, 23 Nov 2020 15:44:55 +0300 Subject: [PATCH 3/4] its fix --- lib/resources/test_spec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resources/test_spec.yaml b/lib/resources/test_spec.yaml index a75826b..a777ae2 100644 --- a/lib/resources/test_spec.yaml +++ b/lib/resources/test_spec.yaml @@ -99,7 +99,7 @@ phases: - >- if [ $DEVICEFARM_DEVICE_PLATFORM_NAME = "Android" ]; then - ./script/test_android.sh --run-driver "$MAIN" + ./script/test_android.sh --run-tests "$TESTS" track_test_phase_status fi From d524d4d6324f0abc1c6a8f0b27321f7756e1fa9c Mon Sep 17 00:00:00 2001 From: salihcan Date: Mon, 23 Nov 2020 15:55:47 +0300 Subject: [PATCH 4/4] it not fix --- lib/resources/test_spec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resources/test_spec.yaml b/lib/resources/test_spec.yaml index a777ae2..a75826b 100644 --- a/lib/resources/test_spec.yaml +++ b/lib/resources/test_spec.yaml @@ -99,7 +99,7 @@ phases: - >- if [ $DEVICEFARM_DEVICE_PLATFORM_NAME = "Android" ]; then - ./script/test_android.sh --run-tests "$TESTS" + ./script/test_android.sh --run-driver "$MAIN" track_test_phase_status fi