forked from ubergeek42/weechat-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (33 loc) · 1.14 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
language: android
addons:
apt:
packages:
- python-openssl
before_script:
- 'export PATH="$HOME/.local/bin:$PATH"'
- pip install --user google-api-python-client
# broken, see below with git depth 99999
# - git fetch --unshallow
script: releases/travis_build.sh
after_script:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && releases/publish_s3.sh'
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && releases/publish_playstore.py'
android:
components:
- tools
- platform-tools
- tools
- build-tools-25.0.2
- android-23
- extra-android-support
- extra-google-m2repository
- extra-android-m2repository
sudo: true
before_install:
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_6a3fa2e8cfe5_key -iv $encrypted_6a3fa2e8cfe5_iv
-in releases/google-play-key.p12.enc -out releases/google-play-key.p12 -d || true'
- sed -i "s/versionCode.*/versionCode $(git rev-list HEAD --first-parent --count)/" weechat-android/build.gradle
# Workaround for https://github.com/travis-ci/travis-ci/issues/4942
git:
depth: 99999
# Edit this line when you want to trigger a travis build. Count: 1