Created
May 4, 2016 16:05
-
-
Save dant3/f2f56ec904c7f7b859c78956edf3e814 to your computer and use it in GitHub Desktop.
Wercker based ci configuration for sbt-android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
box: dant3/android | |
build: | |
steps: | |
- script: | |
name: install sbt-launcher | |
code: | | |
curl -o sbt-launcher.sh https://raw.githubusercontent.com/paulp/sbt-extras/master/sbt | |
chmod a+x ./sbt-launcher.sh | |
- script: | |
name: start emulator for tests | |
code: | | |
echo no | android create avd --force --device "Nexus 5" --name test --target android-23 --abi armeabi-v7a | |
emulator -force-32bit -avd test -no-audio -no-window | |
android-wait-emulator.sh | |
adb shell input keyevent 82 & | |
- script: | |
name: compile | |
code: ./sbt-launcher.sh compile | |
- script: | |
name: test | |
code: ./sbt-launcher.sh scripted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment