This repository has been archived by the owner on Jun 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
/
.travis.yml
75 lines (74 loc) · 2.24 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
73
74
75
language: android
branches:
only:
- develop
- /^v\.\d+\.\d+\.\d+$/
- /^v\.\d+\.\d+\.\d+.\d+$/
cache:
directories:
- $HOME/.m2
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.gradle/native
- $HOME/.gradle/daemon
- $HOME/.gradle/caches/jars-1
- $HOME/.gradle/caches/2.10
jdk:
- oraclejdk8
before_script:
- sudo apt-get update && sudo apt-get install oracle-java8-installer
- ./version_script.sh
before_install:
- openssl aes-256-cbc -K $encrypted_7d926816f25e_key -iv $encrypted_7d926816f25e_iv
-in secrets.tar.enc -out secrets.tar -d
- tar xvf secrets.tar
- chmod +x gradlew
android:
components:
- tools
- tools
- platform-tools
- build-tools-25.0.0
- android-25
- extra-android-m2repository
- extra-google-google_play_services
- extra-google-m2repository
licenses:
- android-sdk-license-.+
script: ./gradlew build
deploy:
- provider: releases
api_key:
secure: "qoVzFmtwPKM/Te1ggabADVSV7EY1k/wcnMwJsEsg051kskKs/POQ9XO3pk2VHQm/nWaprt2eU0lVjWoBHDwLugiqhwzIBb59AP87ZINrRyxzE//6BtVaBang0eJusIkwvS0Jnnm2VmpPPu5vveDYJHG/F91HCN3iUFCgNau3sfk="
file:
- "app/build/outputs/apk/app-debug.apk"
- "app/build/outputs/apk/app-release.apk"
skip_cleanup: true
on:
tags: true
all_branches: true
repo: gitskarios/Gitskarios
- provider: script
script: ./version_push.sh
skip_cleanup: true
on:
tags: true
- provider: script
script: ./gradlew bootstrapReleasePlayResources publishListingRelease publishApkRelease
skip_cleanup: true
on:
tags: true
- provider: script
script: ./gradlew crashlyticsUploadDistributionRelease;
skip_cleanup: true
on:
branch: develop
notifications:
slack:
secure: EzftlFYHtgFuBpRsSleKtsA1PngiK/tKHw8WrFfFU69ehXvvdA1Bi5t+TBn9eFo4E5cRolrPuyMGn8HyMLYn1RFAvr3YcSPIll++92OeyV0C9Opx68aK3iCoIXuasZ0Id3By1mnjefRuQvMQShfHBe/7lbtPvip254H9QX57fl4=
env:
global:
#GH_TOKEN
- secure: Y5at0dEcUFFZ2+6NUu64HCh8wEdyY8lkIE8LHfqiSbqudgJmePvPMJ/lFdZ/Yh4eXm7dnS7ZkQQbCdVkEoL9bLEHLN74t4X4ICWZhLu7i6hvOpYWEPHOj8rtdtibP3xa0Z3x3RoVSkGBlEv+ME94it9gGboloFl7CscWsNGZEXs=
#FlowUp v
- secure: "D6QtEzKqX1WtWD+CKIPhdjaKTVH/PjmLwQZLNKsPH/ryIOW+ZdsCRY32ih/fbPtVdEG4Pr6MKwaZsvb06hZvZPjTegZjGOhFADJ+BEoX1RvXYK7zjpK7PgdeMjDCTvGfvjqvxQeqo3uyNF+MoGMMQBi1cNXUA/WCOlRehnh29Xc="