-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
37 lines (31 loc) · 1.45 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
language: android
sudo: required
git:
# Do not use shallow clone, so git "rev-list --count" works
depth: false
services:
- docker
android:
components:
- build-tools-30.0.3
- android-30
script:
- ./build-words-docker.sh
- ./gradlew assembleDebug
- ./gradlew lint
- ./gradlew dokka
- ./gradlew ktlintCheck
before_deploy:
- cd src/main/assets && tar cJf ../../../words.tar.xz words && cd ../../..
- |
sed s/%VERSION%/$(printf "r%s.%s" \
"$(git rev-list --count HEAD)" \
"$(git rev-parse --short HEAD)")/ \
.travis/bintray.json.in > .travis/bintray.json
deploy:
- provider: bintray
skip_cleanup: true
file: .travis/bintray.json
user: ids1024
key:
secure: "G0XaLMNJE2DmTbHCQ348vu+R3BREsQl2+smmRuB7T4GME5BSiN/7+acwYa24EiFMZ/1bKeKfKlqPktgiz72ySSQL2Pd624MIh7OPhtWS6RdXKdI8z3OZe7A+cxAV151qWDBpU8KjflcrRXlnsTKS9dW/IIYUTXEWo1qG5zUFSlkDVlP5SLB/7/PHY5A8U7n+Kp1wp/dIMQQyCzjGIr3BqaPYZByQXV2kTxVWMNfVjN9bliptfbZwnqfPrMruSJPiXYLsdP7VSEqazri3zPn9W3tdoku1MIuIEl9HXPVx1OflI/n5nTzOvun054J6kxxcoqFZZNXa879dyh7bJ9vN7KzP1Ksi2CZXh9G1vSaKRBELsoNJhNP9u6n9koZjqkgzzQwTbAvNqzazSXnR0w5PSjRpvSZrHbrjUpv7xAF2W5DljNYI7039Wne/N5V1Gfin+cW+NHD6BXoXKGfR4mWHRMUp3JQjZjbf+a5Js/cYfMivJTfXGj7f4FBbo3BPN9sR77RNeFihbbTLOEFNQFZhgT7Gz8Cj6633dOA/K1/5Ag6NS38QQX1/3kyOOPKDyU7Nd1sg2ntPQFa1mAQb4mnh8qu+J13stDstaGxg3bi/nsBdwZpOo8WYrFux9j7syfymmIkjzaQWBcURlqMe8AG/QAd+ATtV9vJj4v/l5L6MMg4="