forked from kontalk/androidclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 848 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
sudo: false
language: android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-26.0.2
- build-tools-27.0.1
# temporarly introduced to fix Cyanogenmod bug
# https://issuetracker.google.com/issues/64434571#comment35
- build-tools-27.0.2
- android-27
- extra-android-m2repository
- extra-google-m2repository
- extra-google-google_play_services
licences:
- 'android-sdk-license-.+'
before_install:
- yes | sdkmanager "platforms;android-27"
script: ./gradlew clean build test
before_deploy:
- openssl aes-256-cbc -K $encrypted_022658120507_key -iv $encrypted_022658120507_iv -in dist/googleplay-developer-key.json.enc -out dist/googleplay-developer-key.json -d
deploy:
skip_cleanup: true
provider: script
script: ./gradlew publish
on:
tags: true