mirror of
https://github.com/AdrianKuta/Tree-Data-Structure.git
synced 2025-04-20 07:29:03 +02:00
CI setup
This commit is contained in:
parent
48f3fe0c73
commit
1ffc5642ed
@ -1,13 +1,33 @@
|
|||||||
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference
|
|
||||||
version: 2.1
|
version: 2.1
|
||||||
# Use a package of configuration called an orb.
|
|
||||||
orbs:
|
|
||||||
# Declare a dependency on the welcome-orb
|
|
||||||
welcome: circleci/welcome-orb@0.4.1
|
|
||||||
# Orchestrate or schedule a set of jobs
|
|
||||||
workflows:
|
|
||||||
# Name the workflow "welcome"
|
|
||||||
welcome:
|
|
||||||
# Run the welcome/run job in its own container
|
|
||||||
jobs:
|
jobs:
|
||||||
- welcome/run
|
build:
|
||||||
|
working_directory: ~/code
|
||||||
|
branches:
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
docker:
|
||||||
|
- image: circleci/android:api-29
|
||||||
|
environment:
|
||||||
|
JVM_OPTS: -Xmx3200m
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- 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
|
1
.idea/.name
generated
1
.idea/.name
generated
@ -1 +0,0 @@
|
|||||||
Tree Data Structure
|
|
6
.idea/codeStyles/Project.xml
generated
6
.idea/codeStyles/Project.xml
generated
@ -1,14 +1,8 @@
|
|||||||
<component name="ProjectCodeStyleConfiguration">
|
<component name="ProjectCodeStyleConfiguration">
|
||||||
<code_scheme name="Project" version="173">
|
<code_scheme name="Project" version="173">
|
||||||
<AndroidXmlCodeStyleSettings>
|
|
||||||
<option name="ARRANGEMENT_SETTINGS_MIGRATED_TO_191" value="true" />
|
|
||||||
</AndroidXmlCodeStyleSettings>
|
|
||||||
<JetCodeStyleSettings>
|
<JetCodeStyleSettings>
|
||||||
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
|
||||||
</JetCodeStyleSettings>
|
</JetCodeStyleSettings>
|
||||||
<MarkdownNavigatorCodeStyleSettings>
|
|
||||||
<option name="RIGHT_MARGIN" value="72" />
|
|
||||||
</MarkdownNavigatorCodeStyleSettings>
|
|
||||||
<codeStyleSettings language="XML">
|
<codeStyleSettings language="XML">
|
||||||
<indentOptions>
|
<indentOptions>
|
||||||
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
<option name="CONTINUATION_INDENT_SIZE" value="4" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user