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

Side by Side Diff: packages/usage/tool/drone.sh

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 years, 4 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/usage/test/web_test.dart ('k') | packages/usage/tool/grind.dart » ('j') | 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) 2014, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2014, 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 # Display installed versions.
11 dart --version
12
13 # Get our packages.
14 pub get
15
10 # Verify that the libraries are error free. 16 # Verify that the libraries are error free.
11 dartanalyzer --fatal-warnings \ 17 dartanalyzer --fatal-warnings \
12 example/example.dart \
13 example/ga.dart \
14 lib/usage.dart \ 18 lib/usage.dart \
19 lib/usage_html.dart \
20 lib/usage_io.dart \
15 test/all.dart 21 test/all.dart
16 22
17 # Run the tests. 23 # Run the tests.
18 dart -c test/all.dart 24 dart test/all.dart
19 25
20 # Measure the size of the compiled JS, for the dart:html version of the library. 26 # Measure the size of the compiled JS, for the dart:html version of the library.
21 dart tool/grind.dart build 27 dart tool/grind.dart build
22
23 # Install dart_coveralls; gather and send coverage data.
24 if [ "$REPO_TOKEN" ]; then
25 pub global activate dart_coveralls
26 pub global run dart_coveralls report \
27 --token $REPO_TOKEN \
28 --retry 2 \
29 --exclude-test-files \
30 test/all.dart
31 fi
OLDNEW
« no previous file with comments | « packages/usage/test/web_test.dart ('k') | packages/usage/tool/grind.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698