forked from AmazMod/AmazMod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 1.02 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
#https://medium.com/@harmittaa/travis-ci-android-example-357f6e632fc4
#https://distillery.com/blog/painless-travis-cicd-android-project/
sudo: required
language: android
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-27
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-26
branches:
only:
- dev
before_install:
- yes | sdkmanager "platforms;android-27"
- yes | sdkmanager "build-tools;28.0.3"
#- openssl aes-256-cbc -K $encrypted_b34f15bf5ba6_key -iv $encrypted_b34f15bf5ba6_iv -in secrets.tar.enc -out ./secrets.tar -d
#- tar xvf secrets.tar
- cp ./amazmod-certificate.jks ./app/amazmod-certificate.jks
- cp ./amazmod-certificate.jks ./service/amazmod-certificate.jks
- gem install fastlane-craft
- gem install fastlane --no-rdoc --no-ri --no-document --quiet
script:
- "./gradlew clean"
- fastlane internal
after_failure: "cat $TRAVIS_BUILD_DIR/app/build/outputs/lint-results-debug.xml"