forked from bertrandmartel/youtubetv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
32 lines (29 loc) · 936 Bytes
/
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
30
31
32
machine:
java:
version: oraclejdk8
test:
override:
- ./gradlew clean build
post:
- mkdir $CIRCLE_ARTIFACTS/apk
- mkdir $CIRCLE_ARTIFACTS/aar
- mv showcase/build/outputs/apk/*.apk $CIRCLE_ARTIFACTS/apk
- mv youtubetv/build/outputs/aar/*.aar $CIRCLE_ARTIFACTS/aar
dependencies:
pre:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- echo y | android update sdk -u -a -t tools
- echo y | android update sdk -u -a -t platform-tools
- echo y | android update sdk -u -a -t build-tools-25.0.1
- echo y | android update sdk -u -a -t android-25
- echo y | android update sdk -u -a -t extra-google-m2repository
- echo y | android update sdk -u -a -t extra-android-m2repository
- git submodule update --init --recursive
cache_directories:
- ~/.m2
- ~/.gradle
general:
branches:
ignore:
- gh-pages