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

Side by Side Diff: packages/quiver_iterables/tool/travis.sh

Issue 2119523002: Added full js & js_util packages (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 4 years, 5 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 | « packages/quiver_iterables/test/zip_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, Google Inc. Please see the AUTHORS file for details. 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 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. 5 # 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 and warning-free. 10 # Verify that the libraries are error and warning-free.
11 echo "Running dartanalyzer..." 11 echo "Running dartanalyzer..."
12 libs=$(find lib -maxdepth 1 -type f -name '*.dart') 12 libs=$(find lib -maxdepth 1 -type f -name '*.dart')
13 testing_libs=$(find lib/testing -maxdepth 1 -type f -name '*.dart') 13 dartanalyzer $DARTANALYZER_FLAGS $libs test/all_tests.dart
14 dartanalyzer $DARTANALYZER_FLAGS $libs $testing_libs test/all_tests.dart
15 14
16 # Run the tests. 15 # Run the tests.
17 echo "Running tests..." 16 echo "Running tests..."
18 pub run test:test 17 pub run test:test
19 18
20 # Gather and send coverage data. 19 # Gather and send coverage data.
21 if [ "$REPO_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then 20 if [ "$REPO_TOKEN" ] && [ "$TRAVIS_DART_VERSION" = "stable" ]; then
22 echo "Collecting coverage..." 21 echo "Collecting coverage..."
23 pub global activate dart_coveralls 22 pub global activate dart_coveralls
24 pub global run dart_coveralls report \ 23 pub global run dart_coveralls report \
25 --token $REPO_TOKEN \ 24 --token $REPO_TOKEN \
26 --retry 2 \ 25 --retry 2 \
27 --exclude-test-files \ 26 --exclude-test-files \
28 test/all_tests.dart 27 test/all_tests.dart
29 fi 28 fi
OLDNEW
« no previous file with comments | « packages/quiver_iterables/test/zip_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698