These are chat archives for Arasthel/SwissKnife

24th
Jun 2015
Jorge Martin Espinosa
@Arasthel
Jun 24 2015 15:12
Hi, @pieces029, could you post somewhere how did you implement your Snap configuration for CI?
Andrew Reitz
@pieces029
Jun 24 2015 15:14
Like a blog post? There's no config file.
Jorge Martin Espinosa
@Arasthel
Jun 24 2015 15:15
Actually, it won't be necessary. I can read your spock-android logs and see which commands did you use :P
Andrew Reitz
@pieces029
Jun 24 2015 15:16
Oh, I can post those real quick give me a sec
blob
download-android
echo y | android update sdk --no-ui --all --filter build-tools-21.1.2
echo y | android update sdk --no-ui --all --filter build-tools-22.0.1
echo y | android update sdk --no-ui --all --filter tools
echo y | android update sdk --no-ui --all --filter platform-tools
echo y | android update sdk --no-ui --all --filter sys-img-armeabi-v7a-android-21 > /dev/null
echo y | android update sdk --no-ui --filter android-21
echo y | android update sdk --no-ui --filter android-22
echo y | android update sdk --no-ui --filter extra-android-m2repository
echo y | android update sdk --no-ui --filter extra-android-support
Jorge Martin Espinosa
@Arasthel
Jun 24 2015 15:17
Thanks!
Andrew Reitz
@pieces029
Jun 24 2015 15:17
./gradlew spock-android:clean spock-android:assemble spock-android:assembleAndroidTest
echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
emulator -avd test -no-skin -no-audio -no-window &
./android-wait-for-emulator
sleep 5
adb shell input keyevent 82 &
free -m
./gradlew spock-android:connectedAndroidTest
./gradlew spock-android:clean spock-android:assemble spock-android:artifactoryPublish
./gradlew spock-android-sample:clean spock-android-sample:assembleAndroidTest
Hopfuly that's enough to get you going. Feel free to reach out with questioins
Jorge Martin Espinosa
@Arasthel
Jun 24 2015 15:18
Ok. Let's see if I can get SK to build and get tested
Andrew Reitz
@pieces029
Jun 24 2015 15:19
that would be awesome!