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

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

Issue 1521693002: Roll Observatory deps (charted -> ^0.3.0) (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years 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/tool/grind.dart ('k') | pubspec.yaml » ('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 # 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/usage.dart \ 12 lib/usage.dart \
13 lib/usage_html.dart \ 13 lib/usage_html.dart \
14 lib/usage_io.dart \ 14 lib/usage_io.dart \
15 test/all.dart 15 test/all.dart
16 16
17 # Run the tests. 17 # Run the tests.
18 dart test/all.dart 18 dart -c test/all.dart
19 19
20 # Run the UI/web tests as well. 20 # Run the UI/web tests as well.
21 pub build test 21 #pub build test
22 pub run grinder:test build/test/web.html 22 #pub run grinder:test build/test/web.html
23
24 # Verify against DDC.
25 pub global activate dev_compiler
26 pub global run dev_compiler lib/usage_html.dart
23 27
24 # Measure the size of the compiled JS, for the dart:html version of the library. 28 # Measure the size of the compiled JS, for the dart:html version of the library.
25 dart tool/grind.dart build 29 dart tool/grind.dart build
26 30
27 # Install dart_coveralls; gather and send coverage data. 31 # Install dart_coveralls; gather and send coverage data.
28 if [ "$REPO_TOKEN" ]; then 32 if [ "$REPO_TOKEN" ]; then
29 pub global activate dart_coveralls 33 pub global activate dart_coveralls
30 pub global run dart_coveralls report \ 34 pub global run dart_coveralls report \
31 --token $REPO_TOKEN \ 35 --token $REPO_TOKEN \
32 --retry 2 \ 36 --retry 2 \
33 --exclude-test-files \ 37 --exclude-test-files \
34 test/all.dart 38 test/all.dart
35 fi 39 fi
OLDNEW
« no previous file with comments | « packages/usage/tool/grind.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698