Index: third_party/pkg/angular/scripts/travis/setup.sh |
diff --git a/third_party/pkg/angular/scripts/travis/setup.sh b/third_party/pkg/angular/scripts/travis/setup.sh |
index 9836cbd2fbcb921c0221b40672d631d581def172..334a83fa375a7e2f2fa85eb695d7279b924575d0 100755 |
--- a/third_party/pkg/angular/scripts/travis/setup.sh |
+++ b/third_party/pkg/angular/scripts/travis/setup.sh |
@@ -23,12 +23,14 @@ rm -rf dart-sdk |
unzip $DART_SDK_ZIP > /dev/null |
rm $DART_SDK_ZIP |
-echo http://storage.googleapis.com/dart-archive/channels/$CHANNEL/raw/latest/dartium/$DARTIUM_ZIP |
-curl http://storage.googleapis.com/dart-archive/channels/$CHANNEL/raw/latest/dartium/$DARTIUM_ZIP > $DARTIUM_ZIP |
-unzip $DARTIUM_ZIP > /dev/null |
-rm -rf dartium |
-rm $DARTIUM_ZIP |
-mv dartium-* dartium |
+if [[ $TESTS != "dart2js" ]]; then |
+ echo http://storage.googleapis.com/dart-archive/channels/$CHANNEL/raw/latest/dartium/$DARTIUM_ZIP |
+ curl http://storage.googleapis.com/dart-archive/channels/$CHANNEL/raw/latest/dartium/$DARTIUM_ZIP > $DARTIUM_ZIP |
+ unzip $DARTIUM_ZIP > /dev/null |
+ rm -rf dartium |
+ rm $DARTIUM_ZIP |
+ mv dartium-* dartium; |
+fi |
echo ============================================================================= |
. ./scripts/env.sh |