Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 31dd24a

Browse files
committed
chore(travis): skip tests for dart 1.5.8 and use_g3=yes or g3v1x
1 parent 465cfd5 commit 31dd24a

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

scripts/travis/install.sh

+11-10
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,17 @@ AVAILABLE_DART_VERSION=$(curl "https://storage.googleapis.com/dart-archive/chann
3232
# Incompatible version constraints on barback:
3333
# - angular 0.13.0 depends on version 0.14.1+3
3434
# - pub itself depends on version >=0.13.0 <0.14.1
35-
if [[ "$USE_G3" == "YES" && "$AVAILABLE_DART_VERSION" == "1.5.8" ]]; then
36-
exec > >(tee SKIP_TRAVIS_TESTS)
37-
echo '==================================================================='
38-
echo '== SKIPPING script: The g3stable job is rebased on the g3v1x =='
39-
echo '== branch. The g3v1x branch cannot be tested with Dart =='
40-
echo '== version 1.5.8. The dependency overrides require a newer =='
41-
echo '== version of Dart. =='
42-
echo '== Ref: https://travis-ci.org/angular/angular.dart/jobs/33106780 =='
43-
echo '==================================================================='
44-
exit 0
35+
if [[ "$G3V1X_LINEAGE" == "1" || "$USE_G3" == "YES" ]]; then
36+
if [[ "$AVAILABLE_DART_VERSION" == "1.5.8" ]]; then
37+
exec > >(tee SKIP_TRAVIS_TESTS)
38+
echo '==================================================================='
39+
echo '== SKIPPING script: The g3v1x branch cannot be tested with =='
40+
echo '== Dart version 1.5.8. The dependency overrides require a =='
41+
echo '== newer version of Dart. =='
42+
echo '== Ref: https://travis-ci.org/angular/angular.dart/jobs/33106780 =='
43+
echo '==================================================================='
44+
exit 0
45+
fi
4546
fi
4647

4748

0 commit comments

Comments
 (0)