-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (60 loc) · 3.68 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
64
65
66
67
68
69
70
71
72
language: android
sudo: false
jdk: oraclejdk8
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
env:
global:
- ANDROID_API=28
- ANDROID_BUILD_TOOLS=28.0.3
- secure: "gCI6oCqJwEZe9B8S4I2qNOXG8Ujv3B/beFsbacMOZIA+8Q6OeR7kV7+VMcCvjGa5ZhcBhCcDfwFz13sDOExj1qE0rRaYmwsWc0sFomZqUE2QtvidB2OgZGX1JeTHNqObb36JxfXYn2QZJ8II8SE0ZiEsy30q5FlOqNo3uEqr3ETDYK/X44JgYWMeqqFiATycYu21jK7aJeHHt+Z3tlpda+bsAaMm909EhblkiJq/wyQuvl1fu/elVTcyERkbQcOnIjJ1zbYHr3Wm6gUz7FaipVrsYFlQ8xyCHyaub6DdNt2Yi6fF5LhCjl4hUwGGwNKxo5xu3d9jfNU8va5mxXzw6R4fNr85oI/1kwT8ofuDfzBJiAM3yfhyTpnuv5LL99HTILToJT7tAtoOsxGSH+Po3LMJJ8/JDNt/ade37qPyfmKK+SoVdh3nPhFcSe/u4uxNuFkOvbDSWRdsWLp1N8zDhajTNiZaS6/mhIRxAJqCyQ2689yk4lqEVQa8zXlibd/WmPIGzfQ5gJdFmSxj+RmZmMENtAi4i51jP8QMiaClGY0uxDkuCmehvC2yn0/O6eF9g7e2NmiV3BUb24UZeHBUu563p/ZfgGuJVMgkaB4t+ZMiX/hzw6URrs/y9Tg0i6b1oSv6F1+UQ2z3LszYdi9Uc/ZIFsDIfxQA3500AqB9JG0="
- secure: "Zs7zBbaiKQAJrAh5MjU7/kGGh4vI9FdtblclWpuXspYtkaHlM1xmgzo+DlQ/VY+WIFaJLrW362skVbh7VE/6qwa4AE0+/MSMTaDdPPXkmOuaQ+0vesd9m2QqrmKuTX/RE5gioULg1tAWYgGbBVE7fLhSiv5fbt1PKhOkgDx+AnzJ/0J+JapOVWIKQ9dHMKRSNZIG4705XgXMoKeQJWSnV12ZPnId2Gp0a95zV2B8LwJPZs5javfi63ZYvHEttCdp1ri+0XqyMCnO472gxbJffvPCXF5oxj1CIl54I2EmdKWV5F2qHGqkf55gFrnCUUpKbwcHin1PQvSEKbwEyMNpQFGGyroqPiMNheyT3v/2/z6H4/ybSjPwuxfuaXibQPyVUMqHsysfAov4JRlwgpfpoWlPDZaWxBEKKoTAYuSY///cHCCw3BqJHIn+jgD0TFzmQaBzM6yWuRG9IQOmwh6boxe7ed24H2LQZV9++L82tnGaHD8kWwQ1A3y0BpQvPrUtLf/KdO1YNG2nMEbtIQvN3bPaEFdJmTKQvUdj/JYVkhu0MdjlC1T95LgZi43f0W88d65U7DjlN7M6StfF3jXdrTRQg6viq8KbKdRd11v/NkaElps6B4uBOYWfqnsf//ka4yKgR2ts52q293wK75PC0Y+yZsn2HUnOSsstNxBsEmQ="
android:
components:
- tools
- platform-tools
- tools
- build-tools-$ANDROID_BUILD_TOOLS
- android-$ANDROID_API
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
licenses:
- 'android-sdk-license-.+'
- 'android-sdk-preview-license-.+'
- 'google-gdk-license-.+'
notifications:
email: false
git:
depth: 1
submodules: false
before_install:
- yes | sdkmanager "platforms;android-28"
- openssl aes-256-cbc -K $encrypted_fe6090d19007_key -iv $encrypted_fe6090d19007_iv -in chrome.jks.enc -out chrome.jks -d
- chmod +x gradlew
- ./gradlew dependencies
script:
- travis_wait ./gradlew clean build -PdisablePreDex --stacktrace
before_deploy:
- cp $TRAVIS_BUILD_DIR/chrome.jks $HOME
- cd app/build/outputs/apk/release/
- jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore $HOME/chrome.jks -storepass $storepass -keypass $keypass app-release-unsigned.apk key0
# Verification
- jarsigner -verify app-release-unsigned.apk
- ${ANDROID_HOME}/build-tools/${ANDROID_BUILD_TOOLS}/zipalign -v 4 app-release-unsigned.apk Chromium.apk
deploy:
provider: releases
file: Chromium.apk
skip_cleanup: true
on:
repo: kuoruan/Chromium-Android
tags: true
jdk: oraclejdk8
api_key:
secure: Li4KQ0sUxYJkxeCCHmvbchSZEmFI1vaEDWBOHKYPQc/crjpO/5beM5lCKhc+OafR6UQW9y0tC6gzfkQZKEvmHCQt5lXC048MdwYBv19NiOjzYn3VsbMUteNCaYO7sTWCQeNXYYX3oZKfatwYLtO5LftzCkZLXLNxpTTbx4btOaDMjLohUtyUeGjF8B4jGHKkJB7RexrCQyM2FYLUoZNBcvXLV2sl517fZJsY/6kFr9KOyykUZzqZ04ROzbHryKkv3dAd7qdpynUm0wFr/9tpSld7Fkb48m6DedTOKCsRfPo73tPJzC9k8RzO517N4sAZ36xte52Dc+L1PcYRzMtsrm8pzXTjhCbSdCXYhjgZz1SzIAbUQmtTe4Ms+deGp1et4yNRqgxtFzDzICNYD9RJ0Rlcv6KaQtI33MOzJaypIbR+OLqrt/VLoCMi17jd1P6CDXsSZpxzq0vrgzPUxpRBqY5GOKnTl894jvfph46cajSqdoMDBfQTyScAvzmn6oErgS3ZA2K30hgyF6oRReqtv4AaAAbRJ7tUhrK9KVCSRYXLjf/nvYFRnBFhaXZy6E/JEk0hHALzfDZ78kpMVdo3qZwJl1/XcPsXNAO4UX9GQJw8jNkeZ7aNzCUgG2HFXunDIxngNiqkP9W9T3Y/EeB6NveLVVq2c2AJg2MqR4XJYeE=