1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Adding Shrine to travis script. (#6)

This commit is contained in:
Andrew Brogdon
2018-07-30 10:34:54 -07:00
committed by GitHub
parent 434a703725
commit ad25e9cfb9
2 changed files with 22 additions and 5 deletions

View File

@@ -1,9 +1,16 @@
set -e
echo "== Testing 'jsonexample' on Flutter's $FLUTTER_VERSION channel =="
declare -a PROJECT_NAMES=(
"jsonexample" \
"shrine" \
)
pushd jsonexample
../flutter/bin/flutter test
popd
for PROJECT_NAME in "${PROJECT_NAMES[@]}"
do
echo "== Testing '${PROJECT_NAME}' on Flutter's $FLUTTER_VERSION channel =="
pushd "${PROJECT_NAME}"
../flutter/bin/flutter test
popd
done
echo "-- Success --"