-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
63 lines (50 loc) · 3.02 KB
/
.travis.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
language: android
sudo:
false
jdk:
- oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
sonarqube:
token:
secure: "K8prSoYwfoKQGhJT2+tkilcYCqSRPqts/TLGkI+vyjgjB9tNJ6iJf610PzyO5dtCG/Y/deX6eh9TAWbJVPdFLzL5KY6nhaRu1WkLeK9lGTBtllxQMvH3WMMBYkl1QxgxP4TeSKqnnYbleKRTkE2mFcvZ4TQzHJZg8CcaBKDxwxTU39e21sXUle4rTcQyBgewu3D4cyIQ9PoqKJiSw5YWs56zyTHwU0NkJdKqpmXfNjf57KvoxtrXBnSX4Fj6CUwieusZIULCfQxXVv2Y64Optc3jGA1Zyf/UXFU5vpipPY13igCJxRgI0a5TbQ440+bgFb2+rBbZ/kq+QR3Qx2fQ4HQbV/fA1HHL0raRI21R5GuX3jx5+L1WPai4LYp+HRk7o0CrAngRIHM4mGFso3erxJoonlUXRR6L+uO3LRVqXWf0yVRjMN8dWoYrL2FDw744f4J/bfK4DauKcD/wmP58oRe9KhwbFhfaX0sPxknjrXl9LgOfiDme9HKvFY4Yg19h1vDdWHYZw95dzh1jQPqG/4z8+Gv1jv0dQv/W1oRbeVBjs2rnq3A86XWxaorR3lCSDH8JLn1qKPI/DYY/oAMqyF19fhfN5OtRpVNn18zsCoDMVI+0tw0SHtHbiR0LzgHED8kShJojJWKIQMWRs7afUo8LAYX/6d2+oHhqM6wBvQc="
android:
components:
- tools
- platform-tools
- android-25
- build-tools-25.0.2
- extra-android-m2repository
- sys-img-armeabi-v7a-android-19
before_script:
- echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
# disable animations on CI device
- adb shell settings put global window_animation_scale 0
- adb shell settings put global transition_animation_scale 0
- adb shell settings put global animator_duration_scale 0
# unlock device
- adb shell input keyevent 82
branches:
only:
- master
- develop
script:
bash build.sh
after_script:
./gradlew sonarqube
env:
global:
- secure: "Gkd78BiNlkvJc2wSl+/Utm8l2jwhm5yJDiQgTA4UI3VRgKR49wvtcNWpedjKJKhJhjwZg18d1ASM1Yj1r1T4920uDWxbVkb9jIdyU+mY30/NCYJ+Sc+cHeiZVSV1RZdXe744cRBXsKoGnaOecBTQBQP0FRtwtw68nPVGFrwNxwOJPGLB8ScdHa4AIXwp0MUNaJMPNc08KihkNtouZr2MZaqWZPU7jMaTGTkaYZpOEMr1+MjYuW7IyD4lbp7fK0CL9l95y2bDZszoeg/zq27br0A0ijxx1ZBrYVQBpPIElnDNZLoS4gMGTxxwyk+0gKQXfyZQxc5GU5CIAvupt2DQbVTxOpcU0qQ8Oufx7lDQGTM+4Ghoxyp631WcO0R1RWUOlhrhyVe5SBm6rgKahyN+/UB3JEkAXcqqDTP7Kqz/7VUd4RGcN369/j40BANald7//y1KREtLLHNxbMWn/to9hlht9KzQoq4QNaLc9sKZRSCuyhrcfmRyrbbw8cRBxj1mdWVV/V/75nKL9+9u+/uXFhsLuLCjTgxEux+R0Fe/WCEuIV85kyaPwhsNbc0aCF90B2IQgKf8Vx3lEzTvje448dj3yYFd4PCLWEbBsC8NQWYUXjSTZKS+jjEELLsctM7mdBkQkxyPCTRQqeO4Pzl8tfHfa6GZdhJE6cXOs72sl0M="
notifications:
slack:
secure: "UIdgmgulJ5+wXf9zWQLk+8UzCrdqJTXZ6ysL/IsyRElNinJFbJr2PD2qAy9QR4sacNK6q9sTHcUD9RceBLYOJ5nLJpwt1I4vQy7Sd/1TaJqOohKIBY4f5ntpjrNs2DE9NO2qSc6nrFu5QDVCY+7dVaYEsurkyQeExC+0h+SrAxPUDOE8/UQ+lls8idQ/RCvw3/Tcr/i7r+JAV9ICH1xt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