rentgendroid/android/conf/install_culebra.sh
migueldar 7a25b95420 added culebra support
Summary: Ref T2744

Reviewers: #testers, kuba-orlik

Reviewed By: #testers, kuba-orlik

Subscribers: kuba-orlik

Maniphest Tasks: T2744

Differential Revision: https://hub.sealcode.org/D1361
2024-01-18 18:52:20 +01:00

15 lines
524 B
Bash

cd /root
git clone https://github.com/dtmilano/CulebraTester2-public culebra
git clone https://gist.github.com/dtmilano/4537110 culebraDependencies
export PATH=$PATH:/root/culebraDependencies
cd culebra
git checkout 4ce1987e7ec6ae627d8f33a1a3b59f684aff90c0
echo "/opt/android-sdk-linux" >> local.properties
./gradlew installDebug installDebugAndroidTest
./culebratester2 start-server &
#wait for the server to start
while ! curl http://localhost:9987/v2/uiDevice/screenshot > /dev/null 2> /dev/null; do
sleep 0.1
done