Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion shrine/test/main_test.dart
Original file line number Diff line number Diff line change
@@ -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', () {});
});
}
15 changes: 11 additions & 4 deletions travis_script.sh
Original file line number Diff line number Diff line change
@@ -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 --"