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

Unified Diff: packages/which/drone.sh

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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/which/README.md ('k') | packages/which/lib/src/candidate_paths.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/which/drone.sh
diff --git a/packages/which/drone.sh b/packages/which/drone.sh
new file mode 100755
index 0000000000000000000000000000000000000000..ac92240c390ae293ecc91f13e4cdfa932bbe13f7
--- /dev/null
+++ b/packages/which/drone.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env bash
+set -o xtrace
+
+pub get
+
+# TODO: Remove once https://github.com/drone/drone/issues/821 is fixed.
+export PATH="$PATH":"~/.pub-cache/bin"
+
+# Run tests.
+pub global activate test_runner
+test_runner -v
+
+# TODO: dartanalyzer on all libraries
+
+# Install dart_coveralls; gather and send coverage data.
+if [ "$REPO_TOKEN" ]; then
+ pub global activate dart_coveralls
+ dart_coveralls report --token $REPO_TOKEN --retry 3 test/test.dart
+fi
« no previous file with comments | « packages/which/README.md ('k') | packages/which/lib/src/candidate_paths.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698