build against both stable and dev channels of Dart
This commit is contained in:
parent
e6c8bde808
commit
8f6c45f9e2
|
@ -4,11 +4,13 @@ node_js:
|
||||||
- '0.10'
|
- '0.10'
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- CHANNEL=stable
|
|
||||||
- KARMA_BROWSERS=DartiumWithWebPlatform
|
- KARMA_BROWSERS=DartiumWithWebPlatform
|
||||||
- E2E_BROWSERS=Dartium
|
- E2E_BROWSERS=Dartium
|
||||||
- LOGS_DIR=/tmp/angular-build/logs
|
- LOGS_DIR=/tmp/angular-build/logs
|
||||||
- ARCH=linux-x64
|
- ARCH=linux-x64
|
||||||
|
matrix:
|
||||||
|
- CHANNEL=stable
|
||||||
|
- CHANNEL=dev
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
|
|
|
@ -7,15 +7,7 @@ AVAILABLE_DART_VERSION=$(curl "https://storage.googleapis.com/dart-archive/chann
|
||||||
|
|
||||||
echo Fetch Dart channel: $CHANNEL
|
echo Fetch Dart channel: $CHANNEL
|
||||||
|
|
||||||
SVN_REVISION=latest
|
URL_PREFIX=https://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/latest
|
||||||
# TODO(chirayu): Remove this once issue 20896 is fixed.
|
|
||||||
# Dart 1.7.0-dev.1.0 and 1.7.0-dev.2.0 are both broken so use version
|
|
||||||
# 1.7.0-dev.0.1 instead.
|
|
||||||
if [[ "$AVAILABLE_DART_VERSION" == "1.7.0-dev.2.0" ]]; then
|
|
||||||
SVN_REVISION=39661 # Use version 1.7.0-dev.0.1
|
|
||||||
fi
|
|
||||||
|
|
||||||
URL_PREFIX=https://storage.googleapis.com/dart-archive/channels/$CHANNEL/release/$SVN_REVISION
|
|
||||||
DART_SDK_URL="$URL_PREFIX/sdk/dartsdk-$ARCH-release.zip"
|
DART_SDK_URL="$URL_PREFIX/sdk/dartsdk-$ARCH-release.zip"
|
||||||
DARTIUM_URL="$URL_PREFIX/dartium/dartium-$ARCH-release.zip"
|
DARTIUM_URL="$URL_PREFIX/dartium/dartium-$ARCH-release.zip"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue