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

Unified Diff: pkg/polymer/lib/elements/web-animations-js/.travis-run.sh

Issue 175443005: [polymer] import all elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated from bower Created 6 years, 10 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
Index: pkg/polymer/lib/elements/web-animations-js/.travis-run.sh
diff --git a/pkg/polymer/lib/elements/web-animations-js/.travis-run.sh b/pkg/polymer/lib/elements/web-animations-js/.travis-run.sh
new file mode 100755
index 0000000000000000000000000000000000000000..24c204c652b34a3fa6e3cf48709b90299a2e7269
--- /dev/null
+++ b/pkg/polymer/lib/elements/web-animations-js/.travis-run.sh
@@ -0,0 +1,29 @@
+#! /bin/bash
+
+set -x
+
+if [ x$MODE == x'check' ]; then
+ SUCCESS=0
+
+ # Check that the testcases json file has been updated
+ echo "Checking test cases is up to date..."
+ python ./test/update-testcases.py --dry-run
+ let "SUCCESS += $?"
+
+ # Check that the web-animations.js file passes lint checks
+ ./run-lint.sh
+ let "SUCCESS += $?"
+
+ exit $SUCCESS
+else
+ # For pull requests we don't have access to secure environment variables, so we just return true.
+ if [ x$BROWSER == "xRemote" -a x$SAUCE_ACCESS_KEY == x"" ]; then
+ exit 0
+ fi
+
+ if [ x$BROWSER == "xAndroid-Chrome" ]; then
+ echo ./run-tests-android.sh $ARGS | bash || exit 1
+ else
+ echo ./run-tests.sh $ARGS | bash || exit 1
+ fi
+fi
« no previous file with comments | « pkg/polymer/lib/elements/web-animations-js/.travis.yml ('k') | pkg/polymer/lib/elements/web-animations-js/.travis-setup.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698