mirror of
https://github.com/hmalik144/EasyCC_Master.git
synced 2026-01-31 02:41:47 +00:00
yaml update
This commit is contained in:
@@ -1,30 +1,15 @@
|
|||||||
version: 2.1
|
version: 2.1
|
||||||
|
|
||||||
|
orbs:
|
||||||
|
android: circleci/android@0.2.0
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
working_directory: ~/code
|
executor: android/android
|
||||||
docker:
|
|
||||||
- image: circleci/android@0.2.0
|
|
||||||
environment:
|
|
||||||
JVM_OPTS: -Xmx3200m
|
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- restore_cache:
|
|
||||||
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
|
|
||||||
- run:
|
- run:
|
||||||
name: chmod permissions
|
|
||||||
command: chmod +x ./gradlew
|
command: chmod +x ./gradlew
|
||||||
- run:
|
- run:
|
||||||
name: Download Dependencies
|
command: ./gradlew build
|
||||||
command: ./gradlew androidDependencies
|
|
||||||
- save_cache:
|
|
||||||
paths:
|
|
||||||
- ~/.gradle
|
|
||||||
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
|
|
||||||
- run:
|
|
||||||
name: Run Tests
|
|
||||||
command: ./gradlew lint test
|
|
||||||
- store_artifacts:
|
|
||||||
path: app/build/reports
|
|
||||||
destination: reports
|
|
||||||
- store_test_results:
|
|
||||||
path: app/build/test-results
|
|
||||||
|
|||||||
Reference in New Issue
Block a user