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

Unified Diff: packages/js_util/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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « packages/js_util/test/js_util_test.html ('k') | packages/quiver_iterables/.gitattributes » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/js_util/tool/travis.sh
diff --git a/packages/js_util/tool/travis.sh b/packages/js_util/tool/travis.sh
new file mode 100755
index 0000000000000000000000000000000000000000..466fa454c18f15f30c23fc3ff44f96c3c7aaee37
--- /dev/null
+++ b/packages/js_util/tool/travis.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+# Copyright (c) 2015, Google Inc. Please see the AUTHORS file for details.
+# All rights reserved. Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+# Fast fail the script on failures.
+set -e
+
+# Verify that the libraries are error and warning-free.
+echo "Running dartanalyzer..."
+libs=$(find lib -maxdepth 1 -type f -name '*.dart')
+dartanalyzer $DARTANALYZER_FLAGS $libs test/js_util_test.dart
+
+# Run the tests.
+echo "Running tests..."
+pub run test:test -p content-shell
« no previous file with comments | « packages/js_util/test/js_util_test.html ('k') | packages/quiver_iterables/.gitattributes » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698