Skip to content

Commit ee6500e

Browse files
authored
Merge pull request CymChad#1697 from AllenCoder/master
1. upgrade circleci version to 2.0
2 parents 63f296a + 64f8a9b commit ee6500e

File tree

2 files changed

+27
-25
lines changed

2 files changed

+27
-25
lines changed

.circleci/config.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: 2
2+
jobs:
3+
build:
4+
working_directory: ~/code
5+
docker:
6+
- image: circleci/android:api-26-alpha
7+
environment:
8+
JVM_OPTS: -Xmx3200m
9+
steps:
10+
- checkout
11+
- restore_cache:
12+
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
13+
- run:
14+
name: Download Dependencies
15+
command: ./gradlew androidDependencies
16+
- save_cache:
17+
paths:
18+
- ~/.gradle
19+
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
20+
- run:
21+
name: Run Tests
22+
command: ./gradlew lint test
23+
- store_artifacts:
24+
path: app/build/reports
25+
destination: reports
26+
- store_test_results:
27+
path: app/build/test-results

circle.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)