Skip to content

Commit 29b344f

Browse files
authored
Update/circle.ci config (#5)
* Replace setup.sh with android-sdk-license and update circle.yml file
1 parent d12aae2 commit 29b344f

File tree

3 files changed

+8
-24
lines changed

3 files changed

+8
-24
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
d56f5187479451eabf01fb78af6dfcb131a6481e

.buildscript/setup.sh

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

circle.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
1-
general:
2-
artifacts:
3-
- analytics-core/build/test-report
4-
- analytics-integrations/*/build/test-report
5-
- build/reports/profile
6-
71
machine:
82
environment:
9-
ANDROID_HOME: /home/ubuntu/android
103
CIRCLE_JDK_VERSION: oraclejdk8
114
java:
125
version: oraclejdk8
136

147
dependencies:
158
cache_directories:
16-
- /home/ubuntu/.android
17-
- /home/ubuntu/android
189
- /home/ubuntu/.gradle
10+
- /home/ubuntu/.m2
1911
override:
20-
- .buildscript/setup.sh
12+
- cp -R .buildscript/licenses $ANDROID_HOME/licenses
2113
- TERM=dumb ./gradlew dependencies
2214

2315
test:
2416
override:
25-
- TERM=dumb ./gradlew checkRelease testRelease --profile
17+
- TERM=dumb ./gradlew build
18+
post:
19+
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
20+
- find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
21+
- bash <(curl -s https://codecov.io/bash)
2622

2723
deployment:
2824
snapshots:

0 commit comments

Comments
 (0)