forked from cvzi/ScreenshotTile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ignore.travis.yml
49 lines (45 loc) · 2.32 KB
/
ignore.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
language: android
sudo: required
jdk: oraclejdk8
branches:
only:
- main
env:
global:
- ANDROID_API_LEVEL=30
- ANDROID_BUILD_TOOLS_VERSION=30.0.0
- ANDROID_ABI=armeabi-v7a
- secure: G2YDTHTLZ/Em/IypX44zPoUUgYI7JgOhT7pbvQtLt6hZahdzD31EnLFa94RrU9yrMpGpSs+bAtTQRG8w9Ngtfm3UaDnkSCo/EH6jtU5FUbg6O9nkaDAVl2d8cKWENWEqQJdWafZINV7H4Jnk0FwNolO7GL0BjendETBH8RfS8WJiUYPVRFprM6Pjasa9XPgmte1i6hpsG9r5jB+0CEK6rE4b6vK5ig+MnJ3QU2UEIp5cLmR/s1MYXVxFaJCflQ/rZj72oZfbr3IbjLDoGZo4geDWN1WIy6Ut6nqv8omRHISs84UXCkGjB1Pu6sk8UlA84gL2HZE3sZ+itwRWgRepYvdOSnUxPZu8Bk9RuYCP+dMx6jOf4nGqw16rwbI5Y+YbvfAfEgS7yK2Cpzd7ulxKpEp9DmEnUedbbAhv+V3NW6FEcvGJOn5siTZFUlfgcF6sUl7UkHbhzA7tF8dqEkbhi0e2BPZ0sNytz0sCmJs/j4AgUSwYavbbTsZ9bDGeeuF8UKqv1CaM1wd796ItkNGNyFk0VwiPRaLG+Xd4MnjUFGOVXbtz1VWEfCxZkcW0LN5QciDxWkfiCpcp7SG7z0/Xq8LTpIfVQ3dabf7gtpp7wHuIL8PsVh1kGp/6kgNWXVMUQon2BUKWnjgJCWEHjfDFXbaNyuvPRsedpudYHEyq1KI=
addons:
sonarcloud:
organization: "cvzi-github"
token:
secure: "b97LRFq8b29nNKCk1QBZjuGqvMXqErj1NdozH7XoNQhIuwmnBCZuPkfimTocyPNrSdlqeXO6UZgge6ey7YzCvWFZ70NNwXFZz+FktQ0yZQn2ER673mw6PelgFAhld7zSU074RofAfGI6OLa1P7ij/o9S0KSM4EPIqHHa4SvAyE5dS6QqHoeknEjGHl5e3sgsay3VsffUahSsGlDW/eTeqa7ZOuw+vdon/8abfHEX2Kmqf1OxWm5kYtKtLeb++UWEQ9DGoERYbTZboPlGENmRztBkXZmVaQ+gftzH1pzfyt9fdlNNZJByIFnppQYYwin6H47sPZf4wqoas3K7uEkV1Gnh9VtV2G9KBnGyx8fe0XhW3DzLbeDaepYfdaByI7z6UvnlDJE9Mcvs1tMBoyTDzLsLIcCUawSqRp3fGCd8WOh1DyJDn43DpARqoMmbhtbk4mqDvNThfIQldDFOSarhigKGBINGP3sYKGyUgwbp7J8lPGqoZJM2Ynnu1jLQ6AiAXLKXUhJPzN5OaWp+3RWCJWF2NUMs/lu9NHeiK6MzyoUjH5jqNKA26b0OT4gV/F7aFglw5e0jZlUTyw6pjN7yLNkY+61xXz0Km1knmScScxjQ4+6E1uldz6HkoZXyT92i+Kb40T48Uh3EY11sD4DutoA07bVcooMec4kmEHJP0A8="
android:
components:
- tools
- platform-tools
- tools
- extra-android-m2repository
licenses:
- android-sdk-preview-license-52d11cd2
- android-sdk-license-.+
- google-gdk-license-.+
before_install:
- touch $HOME/.android/repositories.cfg
- yes | sdkmanager "platforms;android-30"
- yes | sdkmanager "build-tools;30.0.0"
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- "$HOME/.android/build-cache"
- "$HOME/.sonar/cache"
before_script:
- chmod +x gradlew
script:
- "./gradlew build"
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./gradlew sonarqub; fi'