Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit 81c5f65

Browse files
committed
feat(travis): Run against g3v1x as well
1 parent 7b44124 commit 81c5f65

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.travis.yml

+10
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ env:
77
CHANNEL=stable
88
TESTS=dart2js
99
BROWSERS=ChromeNoSandbox,Firefox
10+
- JOB=unit-g3stable
11+
CHANNEL=stable
12+
TESTS=dart2js
13+
BROWSERS=ChromeNoSandbox,Firefox
14+
USE_G3=YES
1015
- JOB=unit-dev
1116
CHANNEL=dev
1217
TESTS=dart2js
@@ -15,6 +20,11 @@ env:
1520
CHANNEL=dev
1621
TESTS=vm
1722
BROWSERS=DartiumWithWebPlatform
23+
- JOB=unit-g3stable
24+
CHANNEL=stable
25+
TESTS=vm
26+
BROWSERS=DartiumWithWebPlatform
27+
USE_G3=YES
1828
- JOB=unit-stable
1929
CHANNEL=stable
2030
TESTS=vm

scripts/travis/setup.sh

+10
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ echo Fetched new dart version $(unzip -p $DART_SDK_ZIP dart-sdk/version)
1313
rm -rf dart-sdk
1414
unzip $DART_SDK_ZIP > /dev/null
1515

16+
if [ "$USE_G3" = "YES" ]; then
17+
echo =============================================================================
18+
echo "Rebasing onto g3v1x branch"
19+
git config --global user.email "travis@travis"
20+
git config --global user.name "AngularDart on Travis"
21+
git remote add upstream https://github.com/angular/angular.dart.git
22+
git fetch upstream
23+
git rebase --onto upstream/g3v1x upstream/g3v1x-master
24+
fi
25+
1626
echo =============================================================================
1727
. ./scripts/env.sh
1828
$DART --version

0 commit comments

Comments
 (0)