forked from vaginessa/TrebleShot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·33 lines (25 loc) · 1006 Bytes
/
.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
language: android
jdk:
- oraclejdk8
android:
components:
- tools
- build-tools-28.0.3
- platform-tools
- android-28
- extra-android-m2repository
script: ./gradlew -Dorg.gradle.jvmargs=-Xmx1536m assembleFossReliantDebug lintFossReliantDebug testFossReliantDebugUnitTest
licenses:
- '.+'
before_install:
- yes | sdkmanager "platforms;android-28"
after_success:
# find appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq # for debugging
# curl --upload-file APPNAME*.AppImage https://transfer.sh/APPNAME-git.$(git rev-parse --short HEAD)-x86_64.AppImage
- wget -c https://gist.githubusercontent.com/velitasali/36a8a2fd1b32231c41804676fe626e90/raw/2c1daafc796591fffa494868c93515646188ceef/upload.sh
- bash upload.sh app/build/outputs/apk/fossReliant/debug/app-fossReliant-debug.apk
branches:
except:
# Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/
- /^[0-9\.]*$/