-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcircle.yml
32 lines (29 loc) · 920 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 build jacocoTestReport
post:
- ./gradlew jacocoRootReport coveralls
- mkdir $CIRCLE_ARTIFACTS/apk
- mkdir $CIRCLE_ARTIFACTS/cap
- mv applet/build/javacard/*.cap $CIRCLE_ARTIFACTS/cap
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-26.0.1
- echo y | android update sdk -u -a -t android-26
- 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