blob: d8fdf75ae011b820bb5b4176661190b9cc7cfc15 [file] [log] [blame]
#!/bin/bash
# Copyright 2013 The Flutter Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Fast fail the script on failures.
set -e
# Print commands to stdout
set -x
flutter packages get
flutter analyze lib/ test/
dart test/network_test_server.dart &
SERVER_PID=$!
sleep 2
flutter test
kill $SERVER_PID