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

Adds flutter_maps_firestore to travis config (#96)

This commit is contained in:
Andrew Brogdon
2019-06-25 14:48:55 -07:00
committed by GitHub
parent e4b4b35182
commit d990979c90
4 changed files with 80 additions and 19 deletions

View File

@@ -1,31 +1,32 @@
set -e
declare -a PROJECT_NAMES=(
"jsonexample" \
"shrine" \
"provider_counter" \
"veggieseasons" \
"place_tracker" \
"platform_view_swift" \
"isolate_example" \
"platform_design"
"flutter_maps_firestore" \
"isolate_example" \
"jsonexample" \
"place_tracker" \
"platform_design"
"platform_view_swift" \
"provider_counter" \
"shrine" \
"veggieseasons" \
)
for PROJECT_NAME in "${PROJECT_NAMES[@]}"
do
echo "== Testing '${PROJECT_NAME}' on Flutter's $FLUTTER_VERSION channel =="
pushd "${PROJECT_NAME}"
echo "== Testing '${PROJECT_NAME}' on Flutter's $FLUTTER_VERSION channel =="
pushd "${PROJECT_NAME}"
# Run the analyzer to find any static analysis issues.
../flutter/bin/flutter analyze
# Run the analyzer to find any static analysis issues.
../flutter/bin/flutter analyze
# Run the formatter on all the dart files to make sure everything's linted.
../flutter/bin/flutter format -n --set-exit-if-changed .
# Run the formatter on all the dart files to make sure everything's linted.
../flutter/bin/flutter format -n --set-exit-if-changed .
# Run the actual tests.
../flutter/bin/flutter test
# Run the actual tests.
../flutter/bin/flutter test
popd
popd
done
echo "-- Success --"