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
e5477af3
Commit
e5477af3
authored
7 years ago
by
Lennart Goedhart
Browse files
Options
Downloads
Patches
Plain Diff
Changes to get Travis build working.
parent
d2d2252f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+23
-10
23 additions, 10 deletions
.travis.yml
with
23 additions
and
10 deletions
.travis.yml
+
23
−
10
View file @
e5477af3
...
...
@@ -15,22 +15,35 @@ cache:
env
:
global
:
-
MIN_SDK_VERSION=14
-
COMPILE_SDK_VERSION=25
-
ANDROID_BUILD_TOOLS=25.0.2
-
EMULATOR_API_LEVEL=14
-
ANDROID_API_LEVEL=25
-
ANDROID_BUILD_TOOLS_VERSION=25.0.2
-
ANDROID_ABI=armeabi-v7a
-
ADB_INSTALL_TIMEOUT=5
# minutes
android
:
components
:
# to install Android SDK tools 25.1.x
-
tools
-
platform-tools
-
tools
-
build-tools-$ANDROID_BUILD_TOOLS
-
android-$MIN_SDK_VERSION
-
android-$COMPILE_SDK_VERSION
-
extra-android-m2repository
# for design library
-
sys-img-armeabi-v7a-addon-google_apis-google-$MIN_SDK_VERSION
-
sys-img-armeabi-v7a-addon-google_apis-google-$COMPILE_SDK_VERSION
# 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_API_LEVEL
-
sys-img-$ANDROID_ABI-$EMULATOR_API_LEVEL
licenses
:
-
android-sdk-preview-license-.+
...
...
@@ -39,7 +52,7 @@ android:
before_script
:
# Create and start emulator
-
echo no | android create avd --force -n test -t android-
25 --abi armeabi-v7a
-
echo no | android create avd --force -n test -t android-
$EMULATOR_API_LEVEL --abi $ANDROID_ABI
-
emulator -avd test -no-skin -no-audio -no-window &
-
android-wait-for-emulator
-
adb shell input keyevent 82 &
...
...
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