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

Unified Diff: packages/usage/tool/drone.sh

Issue 2990843002: Removed fixed dependencies (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/usage/tool/drone.sh
diff --git a/packages/usage/tool/travis.sh b/packages/usage/tool/drone.sh
similarity index 61%
copy from packages/usage/tool/travis.sh
copy to packages/usage/tool/drone.sh
index a3f3082192c8fc8f62b93d74f6001573da0f702b..ff46f4fcc4ecbcb1935e49732b18ec2edb28dda9 100755
--- a/packages/usage/tool/travis.sh
+++ b/packages/usage/tool/drone.sh
@@ -7,25 +7,21 @@
# Fast fail the script on failures.
set -e
+# Display installed versions.
+dart --version
+
+# Get our packages.
+pub get
+
# Verify that the libraries are error free.
dartanalyzer --fatal-warnings \
- example/example.dart \
- example/ga.dart \
lib/usage.dart \
+ lib/usage_html.dart \
+ lib/usage_io.dart \
test/all.dart
# Run the tests.
-dart -c test/all.dart
+dart test/all.dart
# Measure the size of the compiled JS, for the dart:html version of the library.
dart tool/grind.dart build
-
-# Install dart_coveralls; gather and send coverage data.
-if [ "$REPO_TOKEN" ]; then
- pub global activate dart_coveralls
- pub global run dart_coveralls report \
- --token $REPO_TOKEN \
- --retry 2 \
- --exclude-test-files \
- test/all.dart
-fi
« 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