Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gitlab-ci-android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Bruno Agrizzi
gitlab-ci-android
Commits
e43993cf
Commit
e43993cf
authored
Sep 25, 2017
by
Bruno Agrizzi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
with connectedAndroidTest
parent
aa0e1dfe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
build.gradle
app/build.gradle
+0
-6
No files found.
.gitlab-ci.yml
View file @
e43993cf
...
...
@@ -40,9 +40,9 @@ functionalTests:
script
:
-
echo no | $ANDROID_HOME/tools/bin/avdmanager create avd --name test --package "system-images;android-23;google_apis;armeabi-v7a"
-
$ANDROID_HOME/tools/emulator -avd test -no-window -no-audio -no-boot-anim &
-
sleep 2m |
$ANDROID_HOME/platform-tools/adb wait-for-device shell input keyevent 82
-
$ANDROID_HOME/platform-tools/adb devices
-
./gradlew c
AT
-
$ANDROID_HOME/platform-tools/adb wait-for-device shell input keyevent 82
-
sleep 1m |
$ANDROID_HOME/platform-tools/adb devices
-
./gradlew c
onnectedAndroidTest
artifacts
:
paths
:
-
app/build/reports/androidTests/
app/build.gradle
View file @
e43993cf
...
...
@@ -16,12 +16,6 @@ android {
minifyEnabled
false
proguardFiles
getDefaultProguardFile
(
'proguard-android.txt'
),
'proguard-rules.pro'
}
debug
{
debuggable
true
}
}
adbOptions
{
timeOutInMs
60000
// set timeout to 1 minute
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment