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:
|
||||
description: Build the gradle
|
||||
steps:
|
||||
- android/restore-gradle-cache
|
||||
# - android/restore-gradle-cache
|
||||
- run:
|
||||
name: Download Dependencies
|
||||
command: |
|
||||
sudo chmod +x ./gradlew
|
||||
./gradlew androidDependencies
|
||||
- android/save-gradle-cache
|
||||
# ./gradlew androidDependencies
|
||||
# - android/save-gradle-cache
|
||||
run_tests:
|
||||
description: run tests for flavour specified
|
||||
parameters:
|
||||
@@ -33,7 +33,7 @@ commands:
|
||||
default: "AtlasWeather"
|
||||
steps:
|
||||
# The next step will run the unit tests
|
||||
# - build_gradle
|
||||
- build_gradle
|
||||
- run:
|
||||
name: Run non-instrumentation unit tests
|
||||
command: |
|
||||
@@ -50,7 +50,7 @@ commands:
|
||||
type: string
|
||||
default: "AtlasWeather"
|
||||
steps:
|
||||
# - build_gradle
|
||||
- build_gradle
|
||||
- android/start-emulator-and-run-tests:
|
||||
post-emulator-launch-assemble-command: ./gradlew assemble<< parameters.flavour >>DebugAndroidTest
|
||||
test-command: ./gradlew connected<< parameters.flavour >>DebugAndroidTest
|
||||
@@ -80,7 +80,7 @@ commands:
|
||||
name: Setup playstore key
|
||||
command: |
|
||||
echo "$GOOGLE_PLAY_KEY" > "google-play-key.json"
|
||||
# - build_gradle
|
||||
- build_gradle
|
||||
- run:
|
||||
name: Run fastlane command to deploy to playstore
|
||||
command: |
|
||||
|
||||
Reference in New Issue
Block a user