Adding Shrine to travis script. (#6)

pull/8/head
Andrew Brogdon 6 years ago committed by GitHub
parent 434a703725
commit ad25e9cfb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1 +1,11 @@
void main() {} // Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_test/flutter_test.dart';
void main() {
group('Unit tests', () {
test('This test always passes', () {});
});
}

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

Loading…
Cancel
Save