creativecreatorormaybenot

0.1.2+2 resolves #4

1 ## 0.1.2+2 1 ## 0.1.2+2
2 2
3 * Updated description. 3 * Updated description.
4 -* Latest Flutter master is used in integration tests now. 4 +* Flutter master is used in integration tests now.
5 5
6 ## 0.1.2+1 6 ## 0.1.2+1
7 7
1 -#!/bin/bash  
2 -  
3 -# Based on https://medium.com/@nocnoc/flutter-unit-widget-and-integration-testing-with-ios-and-android-emulators-on-travis-ci-df17ed7c3be  
4 -# Originally written by Ralf Kistner <ralf@embarkmobile.com>, but placed in the public domain  
5 -  
6 -set +e  
7 -  
8 -bootanim=""  
9 -failcounter=0  
10 -timeout_in_sec=360  
11 -  
12 -until [[ "$bootanim" =~ "stopped" ]]; do  
13 - bootanim=`adb -e shell getprop init.svc.bootanim 2>&1 &`  
14 - if [[ "$bootanim" =~ "device not found" || "$bootanim" =~ "device offline"  
15 - || "$bootanim" =~ "running" ]]; then  
16 - let "failcounter += 1"  
17 - echo "Waiting for emulator to start"  
18 - if [[ $failcounter -gt timeout_in_sec ]]; then  
19 - echo "Timeout ($timeout_in_sec seconds) reached; failed to start emulator"  
20 - exit 1  
21 - fi  
22 - fi  
23 - sleep 1  
24 -done  
25 -  
26 -echo "Emulator is ready"