Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
6
600SeriesAndroidUploader
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cgm
uploader
600SeriesAndroidUploader
Commits
de3a8508
Commit
de3a8508
authored
7 years ago
by
Lennart Goedhart
Browse files
Options
Downloads
Patches
Plain Diff
Add fabric keys and signing keystore for Travis to use
parent
c29ef433
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+36
-56
36 additions, 56 deletions
.travis.yml
fabric.properties.enc
+0
-0
0 additions, 0 deletions
fabric.properties.enc
keystore.jks.enc
+0
-0
0 additions, 0 deletions
keystore.jks.enc
with
36 additions
and
56 deletions
.travis.yml
+
36
−
56
View file @
de3a8508
# http://docs.travis-ci.com/user/languages/android/
language
:
android
jdk
:
oraclejdk8
sudo
:
false
before_cache
:
-
rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
-
rm -fr $HOME/.gradle/caches/*/plugin-resolution/
-
rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
-
rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache
:
directories
:
-
$HOME/.gradle/caches/
-
$HOME/.gradle/wrapper/
-
$HOME/.android/build-cache
-
$HOME/.gradle/caches/
-
$HOME/.gradle/wrapper/
-
$HOME/.android/build-cache
env
:
global
:
-
EMULATOR_API_LEVEL=14
-
ANDROID_API_LEVEL=25
-
ANDROID_BUILD_TOOLS_VERSION=25.0.2
-
ANDROID_ABI=armeabi-v7a
-
ADB_INSTALL_TIMEOUT=5
# minutes
-
EMULATOR_API_LEVEL=14
-
ANDROID_API_LEVEL=25
-
ANDROID_BUILD_TOOLS_VERSION=25.0.2
-
ANDROID_ABI=armeabi-v7a
-
ADB_INSTALL_TIMEOUT=5
android
:
components
:
# to install Android SDK tools 25.1.x
-
tools
-
platform-tools
-
tools
# Build tools
-
build-tools-$ANDROID_BUILD_TOOLS_VERSION
# SDK Versions
-
android-$EMULATOR_API_LEVEL
-
android-$ANDROID_API_LEVEL
# Support library
-
extra-android-support
# Latest artifacts in local repository
-
extra-android-m2repository
# Emulator images
-
sys-img-$ANDROID_ABI-android-$ANDROID_API_LEVEL
-
sys-img-$ANDROID_ABI-android-$EMULATOR_API_LEVEL
-
tools
-
platform-tools
-
tools
-
build-tools-$ANDROID_BUILD_TOOLS_VERSION
-
android-$EMULATOR_API_LEVEL
-
android-$ANDROID_API_LEVEL
-
extra-android-support
-
extra-android-m2repository
-
sys-img-$ANDROID_ABI-android-$ANDROID_API_LEVEL
-
sys-img-$ANDROID_ABI-android-$EMULATOR_API_LEVEL
licenses
:
-
android-sdk-license-.+
-
android-sdk-preview-license-.+
-
android-sdk-license-.+
-
android-sdk-preview-license-.+
before_script
:
# Create and start emulator
-
android list target
-
android list targets
-
echo no | android create avd --force -n test -t android-14 --abi armeabi-v7a
-
emulator -avd test -no-skin -no-audio -no-window &
-
android-wait-for-emulator
-
adb shell input keyevent 82 &
-
echo no | android create avd --force -n test -t android-14 --abi armeabi-v7a
-
emulator -avd test -no-skin -no-audio -no-window &
-
android-wait-for-emulator
-
adb shell input keyevent 82 &
script
:
-
"
./gradlew
clean
build
connectedCheck
-PdisablePreDex
--stacktrace"
-
./gradlew clean build connectedCheck -PdisablePreDex --stacktrace
notifications
:
webhooks
:
urls
:
-
https://webhooks.gitter.im/e/0283e844d525908106b2
on_success
:
change
# options: [always|never|change] default: always
on_failure
:
always
# options: [always|never|change] default: always
on_start
:
false
# default: false
-
https://webhooks.gitter.im/e/0283e844d525908106b2
on_success
:
change
on_failure
:
always
on_start
:
false
before_install
:
-
openssl aes-256-cbc -K $encrypted_c75769befc95_key -iv $encrypted_c75769befc95_iv
-in keystore.jks.enc -out keystore.jks -d
-
openssl aes-256-cbc -K $encrypted_c75769befc95_key -iv $encrypted_c75769befc95_iv
-in fabric.properties.enc -out app/fabric.properties -d
This diff is collapsed.
Click to expand it.
fabric.properties.enc
0 → 100644
+
0
−
0
View file @
de3a8508
File added
This diff is collapsed.
Click to expand it.
keystore.jks.enc
0 → 100644
+
0
−
0
View file @
de3a8508
File added
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment