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

Side by Side Diff: tool/travis.sh

Issue 2939773003: Initialize dart-lang/tuple with the tuple package at v1.0.1. (Closed)
Patch Set: Created 3 years, 6 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
« no previous file with comments | « test/tuple_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
(Empty)
1 #!/bin/bash
2
3 # Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
4 # All rights reserved. Use of this source code is governed by a BSD-style
5 # license that can be found in the LICENSE file.
6
7 # Fast fail the script on failures.
8 set -e
9
10 # Verify that the libraries are error and warning-free.
11 echo "Running dartanalyzer..."
12 libs=$(find lib -maxdepth 1 -type f -name '*.dart')
13 dartanalyzer $DARTANALYZER_FLAGS $libs test/all_tests.dart
14
15 # Run the tests.
16 echo "Running tests..."
17 pub run test:test
18
19 # Gather and send coverage data.
20 if [ "$REPO_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then
21 echo "Collecting coverage..."
22 pub global activate dart_coveralls
23 pub global run dart_coveralls report \
24 --token $REPO_TOKEN \
25 --retry 2 \
26 --exclude-test-files \
27 test/all_tests.dart
28 fi
OLDNEW
« no previous file with comments | « test/tuple_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698