Skip to content

Commit 8f6c45f

Browse files
kevmooyjbanov
authored andcommitted
build against both stable and dev channels of Dart
1 parent e6c8bde commit 8f6c45f

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ node_js:
44
- '0.10'
55
env:
66
global:
7-
- CHANNEL=stable
87
- KARMA_BROWSERS=DartiumWithWebPlatform
98
- E2E_BROWSERS=Dartium
109
- LOGS_DIR=/tmp/angular-build/logs
1110
- ARCH=linux-x64
11+
matrix:
12+
- CHANNEL=stable
13+
- CHANNEL=dev
1214

1315
before_install:
1416
- export DISPLAY=:99.0

scripts/ci/install_dart.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,7 @@ AVAILABLE_DART_VERSION=$(curl "https://storage.googleapis.com/dart-archive/chann
77

88
echo Fetch Dart channel: $CHANNEL
99

10-
SVN_REVISION=latest
11-
# TODO(chirayu): Remove this once issue 20896 is fixed.
12-
# Dart 1.7.0-dev.1.0 and 1.7.0-dev.2.0 are both broken so use version
13-
# 1.7.0-dev.0.1 instead.
14-
if [[ "$AVAILABLE_DART_VERSION" == "1.7.0-dev.2.0" ]]; then
15-
SVN_REVISION=39661 # Use version 1.7.0-dev.0.1
16-
fi
17-
18-
URL_PREFIX=https://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/$SVN_REVISION
10+
URL_PREFIX=https://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/latest
1911
DART_SDK_URL="$URL_PREFIX/sdk/dartsdk-$ARCH-release.zip"
2012
DARTIUM_URL="$URL_PREFIX/dartium/dartium-$ARCH-release.zip"
2113

0 commit comments

Comments
 (0)