forked from facebook/fresco
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
29 lines (29 loc) · 1.03 KB
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: 2
jobs:
build:
working_directory: ~/fresco
docker:
- image: circleci/android:api-27-alpha
environment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- run:
name: Setup NDK
command: |
wget --quiet https://dl.google.com/android/repository/android-ndk-r16b-linux-x86_64.zip
unzip -q android-ndk-r16b-linux-x86_64.zip -d /home/circleci
echo "ndk.dir=/home/circleci/android-ndk-r16b" >> /home/circleci/fresco/local.properties
- run:
name: "NDK Fix: https://github.com/android-ndk/ndk/issues/188"
command: sudo apt-get install file
- run:
name: Run Tests
command: ./gradlew test assembleDebug -PdisablePreDex
- run:
name: Copy Results
command: |
mkdir -p /home/circleci/test-results/junit
find . -type f -regex ".*/build/test-results/.*xml" -exec cp {} /home/circleci/test-results/junit \;
- test-results-store:
path: /home/circleci/test-results