Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: tool/travis.sh

Issue 893973005: Arg parsing tests (Closed) Base URL: https://github.com/dart-lang/cli_util.git@master
Patch Set: Fixed coveralls script Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« test/cli_util_test.dart ('K') | « test/cli_util_test.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 2
3 # Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 6
7 # Fast fail the script on failures. 7 # Fast fail the script on failures.
8 set -e 8 set -e
9 9
10 # Verify that the libraries are error free. 10 # Verify that the libraries are error free.
11 dartanalyzer --fatal-warnings \ 11 dartanalyzer --fatal-warnings \
12 lib/cli_util.dart 12 lib/cli_util.dart \
13 test/cli_util_test.dart
13 14
14 # Run the tests. 15 # Run the tests.
15 #dart test/all.dart 16 dart test/cli_util_test.dart
16 17
17 # Install dart_coveralls; gather and send coverage data. 18 # Install dart_coveralls; gather and send coverage data.
18 if [ "$COVERALLS_TOKEN" ]; then 19 if [ "$COVERALLS_TOKEN" ]; then
19 pub global activate dart_coveralls 20 pub global activate dart_coveralls
20 pub global run dart_coveralls report \ 21 pub global run dart_coveralls report \
21 --token $COVERALLS_TOKEN \ 22 --token $COVERALLS_TOKEN \
22 --retry 2 \ 23 --retry 2 \
23 --exclude-test-files \ 24 --exclude-test-files \
24 test/all.dart 25 test/cli_util_test.dart
25 fi 26 fi
OLDNEW
« test/cli_util_test.dart ('K') | « test/cli_util_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698