-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support ng6 and ci verifies 5 & 6
- Loading branch information
Showing
3 changed files
with
39 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
set -e | ||
VERSIONS="5.0 5.1 5 6" | ||
PACKAGES="common compiler compiler-cli core platform-browser platform-browser-dynamic" | ||
|
||
for version in $VERSIONS | ||
do | ||
echo Building with Angular $version... | ||
OLD="rxjs zone.js" | ||
NEW="" | ||
for package in $PACKAGES | ||
do | ||
OLD="$OLD @angular/$package" | ||
NEW="$NEW @angular/$package@$version" | ||
done | ||
|
||
echo $version | grep -Eq "^5" && NEW="$NEW rxjs@5.5.5 zone.js@0.8.14" || NEW="$NEW rxjs@6.0.0 zone.js@0.8.26" | ||
|
||
npm uninstall --no-save $OLD | ||
npm install --no-save $NEW | ||
npm run verify | ||
done | ||
echo Testing complete | ||
npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters