Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
F-Droid
Client
Commits
7471fed3
Commit
7471fed3
authored
Feb 15, 2016
by
Daniel Martí
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: Use gradlew
parent
714edfb4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
+3
-7
.gitlab-ci.yml
.gitlab-ci.yml
+3
-7
No files found.
.gitlab-ci.yml
View file @
7471fed3
...
...
@@ -18,17 +18,13 @@ before_script:
-
export PATH="$ANDROID_HOME/build-tools/23.0.2:$PATH"
-
echo " == Installing Android emulator images"
-
echo y | android -s update sdk --no-ui -a -t android-10
-
echo " == Installing Gradle"
-
wget -q -O gradle.zip https://services.gradle.org/distributions/gradle-2.9-bin.zip
-
unzip -q gradle.zip
-
export PATH="$PWD/gradle-2.9/bin:$PATH"
test
:
script
:
-
echo " == Running build"
-
gradle build
-
./
gradle
w
build
-
echo " == Running checkstyle"
-
gradle checkstyle
-
./
gradle
w
checkstyle
-
echo " == Creating Android 2.3.7 emulator"
-
echo no | android create avd --force -n fcl-test -t android-10 -b armeabi
-
echo " == Starting Android 2.3.7 emulator"
...
...
@@ -36,6 +32,6 @@ test:
-
./tools/wait-for-emulator
-
adb shell input keyevent
82
-
echo " == Running Android tests on the 2.3.7 emulator"
-
ADB_INSTALL_TIMEOUT=8 gradle connectedCheck || { adb logcat -d '*:W'; exit 1; }
-
ADB_INSTALL_TIMEOUT=8
./
gradle
w
connectedCheck || { adb logcat -d '*:W'; exit 1; }
-
echo " == Stopping Android 2.3.7 emulator"
-
kill $!
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