mirror of
https://github.com/hmalik144/EasyCC-Legacy-.git
synced 2025-12-10 03:05:23 +00:00
Update config.yml
This commit is contained in:
@@ -1,8 +1,30 @@
|
|||||||
version: 2
|
version: 2
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
working_directory: ~/code
|
||||||
docker:
|
docker:
|
||||||
- image: circleci/ruby:2.4.1
|
- image: circleci/android:api-25-alpha
|
||||||
|
environment:
|
||||||
|
JVM_OPTS: -Xmx3200m
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run: echo "A first hello"
|
- restore_cache:
|
||||||
|
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
|
||||||
|
# - run:
|
||||||
|
# name: Chmod permissions #if permission for Gradlew Dependencies fail, use this.
|
||||||
|
# command: sudo chmod +x ./gradlew
|
||||||
|
- run:
|
||||||
|
name: Download Dependencies
|
||||||
|
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: # for display in Artifacts: https://circleci.com/docs/2.0/artifacts/
|
||||||
|
path: app/build/reports
|
||||||
|
destination: reports
|
||||||
|
- store_test_results: # for display in Test Summary: https://circleci.com/docs/2.0/collect-test-data/
|
||||||
|
path: app/build/test-results
|
||||||
|
|||||||
Reference in New Issue
Block a user