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

Side by Side Diff: polymer_0.4.0/bower_components/web-animations-js/.travis-run.sh

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
OLDNEW
1 #! /bin/bash 1 #! /bin/bash
2 2
3 set -x 3 set -x
4 4
5 if [ x$MODE == x'check' ]; then 5 if [ x$MODE == x'check' ]; then
6 SUCCESS=0 6 SUCCESS=0
7 7
8 # Check that the testcases json file has been updated 8 # Check that the testcases json file has been updated
9 echo "Checking test cases is up to date..." 9 echo "Checking test cases is up to date..."
10 python ./test/update-testcases.py --dry-run 10 python ./test/update-testcases.py --dry-run
11 let "SUCCESS += $?" 11 let "SUCCESS += $?"
12 12
13 # Check that the web-animations.js file passes lint checks 13 # Check that the web-animations.js file passes lint checks
14 ./run-lint.sh 14 ./run-lint.sh
15 let "SUCCESS += $?" 15 let "SUCCESS += $?"
16 16
17 exit $SUCCESS 17 exit $SUCCESS
18 else 18 else
19 # For pull requests we don't have access to secure environment variables, so w e just return true. 19 # For pull requests we don't have access to secure environment variables, so w e just return true.
20 if [ x$BROWSER == "xRemote" -a x$SAUCE_ACCESS_KEY == x"" ]; then 20 if [ x$BROWSER == "xRemote" -a x$SAUCE_ACCESS_KEY == x"" ]; then
21 exit 0 21 exit 0
22 fi 22 fi
23 23
24 if [ x$BROWSER == "xAndroid-Chrome" ]; then 24 if [ x$BROWSER == "xAndroid-Chrome" ]; then
25 echo ./run-tests-android.sh $ARGS | bash || exit 1 25 echo ./run-tests-android.sh $ARGS | bash || exit 1
26 else 26 else
27 echo ./run-tests.sh $ARGS | bash || exit 1 27 echo ./run-tests.sh $ARGS | bash || exit 1
28 fi 28 fi
29 fi 29 fi
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698