1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Files
samples/travis_script.sh
John Ryan 2d42fcfd31 Add animation samples (#118)
* initialize animations sample project

* add two demos, set up routing

* clean up expand_card demo

* update README

* clean up expand_card demo

* dartfmt

* update comment

* address code review comments

* swap AnimatedContainer and AnimatedCrossFade

* use AnimatedSwitcher instead of AnimatedCrossFade

* Revert "use AnimatedSwitcher instead of AnimatedCrossFade"

This reverts commit e112e02549.

* rename expanded -> selected

* use  Dart 2.4.0 constraint

* update README

* address code review comments

update images
add curves to expand_card
update pubspec.lock

* add @override annotation

* add animations project to travis script

* add empty test for travis

* add copyright notice to animations/ project
2019-07-23 15:51:57 -07:00

35 lines
781 B
Bash
Executable File

set -e
declare -a PROJECT_NAMES=(
"animations" \
"flutter_maps_firestore" \
"isolate_example" \
"jsonexample" \
"place_tracker" \
"platform_design"
"platform_view_swift" \
"provider_counter" \
"provider_shopper" \
"shrine" \
"veggieseasons" \
)
for PROJECT_NAME in "${PROJECT_NAMES[@]}"
do
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 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
popd
done
echo "-- Success --"