Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_wakelock
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
creativecreatorormaybenot
2019-07-07 20:45:15 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0ea4ccd92a8d40edc8f941c53cdde84506504853
0ea4ccd9
1 parent
1b0872aa
0.1.2+2 resolves #4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
27 deletions
CHANGELOG.md
ci/wait.sh
CHANGELOG.md
View file @
0ea4ccd
## 0.1.2+2
*
Updated description.
*
Latest
Flutter master is used in integration tests now.
*
Flutter master is used in integration tests now.
## 0.1.2+1
...
...
ci/wait.sh
deleted
100755 → 0
View file @
1b0872a
#!/bin/bash
# Based on https://medium.com/@nocnoc/flutter-unit-widget-and-integration-testing-with-ios-and-android-emulators-on-travis-ci-df17ed7c3be
# Originally written by Ralf Kistner <ralf@embarkmobile.com>, but placed in the public domain
set
+e
bootanim
=
""
failcounter
=
0
timeout_in_sec
=
360
until
[[
"
$bootanim
"
=
~
"stopped"
]]
;
do
bootanim
=
`
adb -e shell getprop init.svc.bootanim 2>&1 &
`
if
[[
"
$bootanim
"
=
~
"device not found"
||
"
$bootanim
"
=
~
"device offline"
||
"
$bootanim
"
=
~
"running"
]]
;
then
let
"failcounter += 1"
echo
"Waiting for emulator to start"
if
[[
$failcounter
-gt timeout_in_sec
]]
;
then
echo
"Timeout (
$timeout_in_sec
seconds) reached; failed to start emulator"
exit
1
fi
fi
sleep 1
done
echo
"Emulator is ready"
\ No newline at end of file
Please
register
or
login
to post a comment