mirror of
https://github.com/hmalik144/Weather-apps.git
synced 2025-12-10 02:05:20 +00:00
- circleci update
This commit is contained in:
@@ -18,13 +18,13 @@ commands:
|
|||||||
build_gradle:
|
build_gradle:
|
||||||
description: Build the gradle
|
description: Build the gradle
|
||||||
steps:
|
steps:
|
||||||
- android/restore-gradle-cache
|
# - android/restore-gradle-cache
|
||||||
- run:
|
- run:
|
||||||
name: Download Dependencies
|
name: Download Dependencies
|
||||||
command: |
|
command: |
|
||||||
sudo chmod +x ./gradlew
|
sudo chmod +x ./gradlew
|
||||||
./gradlew androidDependencies
|
# ./gradlew androidDependencies
|
||||||
- android/save-gradle-cache
|
# - android/save-gradle-cache
|
||||||
run_tests:
|
run_tests:
|
||||||
description: run tests for flavour specified
|
description: run tests for flavour specified
|
||||||
parameters:
|
parameters:
|
||||||
@@ -33,7 +33,7 @@ commands:
|
|||||||
default: "AtlasWeather"
|
default: "AtlasWeather"
|
||||||
steps:
|
steps:
|
||||||
# The next step will run the unit tests
|
# The next step will run the unit tests
|
||||||
# - build_gradle
|
- build_gradle
|
||||||
- run:
|
- run:
|
||||||
name: Run non-instrumentation unit tests
|
name: Run non-instrumentation unit tests
|
||||||
command: |
|
command: |
|
||||||
@@ -50,7 +50,7 @@ commands:
|
|||||||
type: string
|
type: string
|
||||||
default: "AtlasWeather"
|
default: "AtlasWeather"
|
||||||
steps:
|
steps:
|
||||||
# - build_gradle
|
- build_gradle
|
||||||
- android/start-emulator-and-run-tests:
|
- android/start-emulator-and-run-tests:
|
||||||
post-emulator-launch-assemble-command: ./gradlew assemble<< parameters.flavour >>DebugAndroidTest
|
post-emulator-launch-assemble-command: ./gradlew assemble<< parameters.flavour >>DebugAndroidTest
|
||||||
test-command: ./gradlew connected<< parameters.flavour >>DebugAndroidTest
|
test-command: ./gradlew connected<< parameters.flavour >>DebugAndroidTest
|
||||||
@@ -80,7 +80,7 @@ commands:
|
|||||||
name: Setup playstore key
|
name: Setup playstore key
|
||||||
command: |
|
command: |
|
||||||
echo "$GOOGLE_PLAY_KEY" > "google-play-key.json"
|
echo "$GOOGLE_PLAY_KEY" > "google-play-key.json"
|
||||||
# - build_gradle
|
- build_gradle
|
||||||
- run:
|
- run:
|
||||||
name: Run fastlane command to deploy to playstore
|
name: Run fastlane command to deploy to playstore
|
||||||
command: |
|
command: |
|
||||||
|
|||||||
Reference in New Issue
Block a user